Merged in change from Wikia which prevents an E_NOTICE on Special:FewestRevisions...
authorSean Colombo <sean_colombo@users.mediawiki.org>
Mon, 19 Sep 2011 20:50:08 +0000 (20:50 +0000)
committerSean Colombo <sean_colombo@users.mediawiki.org>
Mon, 19 Sep 2011 20:50:08 +0000 (20:50 +0000)
includes/specials/SpecialFewestrevisions.php

index 6d621a2..454e72c 100644 (file)
@@ -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,