Index: branches/REL1_18/phase3/includes/specials/SpecialMovepage.php |
— | — | @@ -75,7 +75,7 @@ |
76 | 76 | $permErrors = $this->oldTitle->getUserPermissionsErrors( 'move', $wgUser ); |
77 | 77 | if( !empty( $permErrors ) ) { |
78 | 78 | // Auto-block user's IP if the account was "hard" blocked |
79 | | - $user->spreadAnyEditBlock(); |
| 79 | + $wgUser->spreadAnyEditBlock(); |
80 | 80 | $this->getOutput()->showPermissionsErrorPage( $permErrors ); |
81 | 81 | return; |
82 | 82 | } |