Legoktm has uploaded a new change for review.
https://gerrit.wikimedia.org/r/247892
Change subject: EventLogging: Make sure eventId is an integer
......................................................................
EventLogging: Make sure eventId is an integer
Bug: T116205
Change-Id: Ifb9119cbd24b58f24a0eaa0a17a1345220374a4a
---
M includes/EventLogging.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo
refs/changes/92/247892/1
diff --git a/includes/EventLogging.php b/includes/EventLogging.php
index 348b432..aa18536 100644
--- a/includes/EventLogging.php
+++ b/includes/EventLogging.php
@@ -48,7 +48,7 @@
}
$data = array(
'version' => $wgEchoConfig['version'],
- 'eventId' => $event->getId(),
+ 'eventId' => (int)$event->getId(),
'notificationType' => $event->getType(),
'notificationGroup' => $group,
'sender' => (string)$sender,
--
To view, visit https://gerrit.wikimedia.org/r/247892
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifb9119cbd24b58f24a0eaa0a17a1345220374a4a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits