Per Reedy, fix for r70274: forgot to change this
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 23 Oct 2010 13:52:06 +0000 (13:52 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 23 Oct 2010 13:52:06 +0000 (13:52 +0000)
includes/specials/SpecialBlockip.php

index 2d2d034..80616dd 100644 (file)
@@ -54,7 +54,7 @@ class IPBlockForm extends SpecialPage {
        
                # bug 15810: blocked admins should have limited access here
                if ( $wgUser->isBlocked() ) {
-                       $status = IPBlockForm::checkUnblockSelf( $ipb->BlockAddress );
+                       $status = IPBlockForm::checkUnblockSelf( $this->BlockAddress );
                        if ( $status !== true ) {
                                throw new ErrorPageError( 'badaccess', $status );
                        }