Index: trunk/phase3/includes/specials/SpecialBlockip.php |
— | — | @@ -54,7 +54,7 @@ |
55 | 55 | |
56 | 56 | # bug 15810: blocked admins should have limited access here |
57 | 57 | if ( $wgUser->isBlocked() ) { |
58 | | - $status = IPBlockForm::checkUnblockSelf( $ipb->BlockAddress ); |
| 58 | + $status = IPBlockForm::checkUnblockSelf( $this->BlockAddress ); |
59 | 59 | if ( $status !== true ) { |
60 | 60 | throw new ErrorPageError( 'badaccess', $status ); |
61 | 61 | } |