Fix typo in property name
authorAlex Monk <krenair@gmail.com>
Wed, 4 Sep 2013 00:32:29 +0000 (01:32 +0100)
committerOri.livneh <ori@wikimedia.org>
Wed, 4 Sep 2013 00:38:33 +0000 (00:38 +0000)
Change I270bde41 introduced a typo to RecentChanges.php, referring to
'$this->mExtras' when '$this->mExtra' was intended. This caused the IRC
log action comment to be omitted from the IRC RC feed.

Bug: 53720
Change-Id: I7f29ba8392861e00a37a2196833154bac41298b4

includes/RecentChange.php

index 9854a85..980bd0a 100644 (file)
@@ -325,8 +325,8 @@ class RecentChange {
                foreach ( $wgRCFeeds as $feed ) {
                        $engine = self::getEngine( $feed['uri'] );
 
-                       if ( isset( $this->mExtras['actionCommentIRC'] ) ) {
-                               $actionComment = $this->mExtras['actionCommentIRC'];
+                       if ( isset( $this->mExtra['actionCommentIRC'] ) ) {
+                               $actionComment = $this->mExtra['actionCommentIRC'];
                        } else {
                                $actionComment = null;
                        }