r105204 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105203‎ | r105204 | r105205 >
Date:18:53, 5 December 2011
Author:aaron
Status:ok
Tags:
Comment:
Fixed bug 32812 - "Error on move page by visitor"
Modified paths:
  • /branches/REL1_18/phase3/includes/specials/SpecialMovepage.php (modified) (history)

Diff [purge]

Index: branches/REL1_18/phase3/includes/specials/SpecialMovepage.php
@@ -75,7 +75,7 @@
7676 $permErrors = $this->oldTitle->getUserPermissionsErrors( 'move', $wgUser );
7777 if( !empty( $permErrors ) ) {
7878 // Auto-block user's IP if the account was "hard" blocked
79 - $user->spreadAnyEditBlock();
 79+ $wgUser->spreadAnyEditBlock();
8080 $this->getOutput()->showPermissionsErrorPage( $permErrors );
8181 return;
8282 }

Status & tagging log