Fatal error: Cannot use object of type EchoEvent as array at EventLogging.php

Bug: 56521
Change-Id: I180728022886b6a2ba96b0da79299ec342547b3a
This commit is contained in:
Kunal Mehta 2013-11-04 18:42:48 +00:00 committed by Reedy
parent a971b9e9c6
commit a026ba880f

View file

@ -69,7 +69,7 @@ class MWEchoEventLogging {
// Add revision ID if it exists
$rev = $event->getRevision();
if ( $rev ) {
$event['revisionId'] = $rev->getId();
$data['revisionId'] = $rev->getId();
}
self::actuallyLogTheEvent( 'Echo', $data );