jenkins-bot has submitted this change and it was merged.

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(-)

Approvals:
  Reedy: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I180728022886b6a2ba96b0da79299ec342547b3a
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Gerrit Patch Uploader <[email protected]>
Gerrit-Reviewer: Gerrit Patch Uploader <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to