diff --git a/includes/EventLogging.php b/includes/EventLogging.php index 248cc9a23..5b9066201 100644 --- a/includes/EventLogging.php +++ b/includes/EventLogging.php @@ -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 );