Gerrit Patch Uploader has uploaded a new change for review.
https://gerrit.wikimedia.org/r/93516
Change subject: Fatal error: Cannot use object of type EchoEvent as array at
EventLogging.php
......................................................................
Fatal error: Cannot use object of type EchoEvent as array at EventLogging.php
Bug: 56521
Change-Id: I180728022886b6a2ba96b0da79299ec342547b3a
---
M includes/EventLogging.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo
refs/changes/16/93516/1
diff --git a/includes/EventLogging.php b/includes/EventLogging.php
index 248cc9a..5b90662 100644
--- a/includes/EventLogging.php
+++ b/includes/EventLogging.php
@@ -69,7 +69,7 @@
// Add revision ID if it exists
$rev = $event->getRevision();
if ( $rev ) {
- $event['revisionId'] = $rev->getId();
+ $data['revisionId'] = $rev->getId();
}
self::actuallyLogTheEvent( 'Echo', $data );
--
To view, visit https://gerrit.wikimedia.org/r/93516
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I180728022886b6a2ba96b0da79299ec342547b3a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Gerrit Patch Uploader <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits