EventLogging: Make sure eventId is an integer

Bug: T116205
Change-Id: Ifb9119cbd24b58f24a0eaa0a17a1345220374a4a
This commit is contained in:
Kunal Mehta 2015-10-21 11:08:31 -07:00
parent 4bb180103b
commit 7f6f6536ed

View file

@ -48,7 +48,7 @@ class MWEchoEventLogging {
}
$data = array(
'version' => $wgEchoConfig['version'],
'eventId' => $event->getId(),
'eventId' => (int)$event->getId(),
'notificationType' => $event->getType(),
'notificationGroup' => $group,
'sender' => (string)$sender,