Follow-up r83909, fix errors seen on TWN reported in CR
authorHappy-melon <happy-melon@users.mediawiki.org>
Mon, 14 Mar 2011 21:10:41 +0000 (21:10 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Mon, 14 Mar 2011 21:10:41 +0000 (21:10 +0000)
includes/specials/SpecialBlockList.php

index c7f6b74..3beab01 100644 (file)
@@ -50,7 +50,7 @@ class SpecialBlockList extends SpecialPage {
                $par = $wgRequest->getVal( 'ip', $par );
                $this->target = trim( $wgRequest->getVal( 'wpTarget', $par ) );
 
-               $this->options = $wgRequest->getArray( 'wpOptions' );
+               $this->options = $wgRequest->getArray( 'wpOptions', array() );
 
                $action = $wgRequest->getText( 'action' );
 
@@ -419,6 +419,6 @@ class BlockListPager extends TablePager {
        }
 
        function getTitle() {
-               return $this->mPage->getTitle();
+               return $this->page->getTitle();
        }
 }