From: Sean Colombo Date: Mon, 19 Sep 2011 20:50:08 +0000 (+0000) Subject: Merged in change from Wikia which prevents an E_NOTICE on Special:FewestRevisions... X-Git-Tag: 1.31.0-rc.0~27546 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=39a2d2d42c9c0332a7acf8df32fbad18be9bd135;p=lhc%2Fweb%2Fwiklou.git Merged in change from Wikia which prevents an E_NOTICE on Special:FewestRevisions page. --- diff --git a/includes/specials/SpecialFewestrevisions.php b/includes/specials/SpecialFewestrevisions.php index 6d621a2e64..454e72cf02 100644 --- a/includes/specials/SpecialFewestrevisions.php +++ b/includes/specials/SpecialFewestrevisions.php @@ -86,7 +86,7 @@ class FewestrevisionsPage extends QueryPage { $nl = wfMsgExt( 'nrevisions', array( 'parsemag', 'escape' ), $wgLang->formatNum( $result->value ) ); - $redirect = $result->redirect ? ' - ' . wfMsgHtml( 'isredirect' ) : ''; + $redirect = isset($result->redirect) ? ' - ' . wfMsgHtml( 'isredirect' ) : ''; $nlink = $skin->linkKnown( $nt, $nl,