r98655 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98654‎ | r98655 | r98656 >
Date:04:48, 2 October 2011
Author:aaron
Status:ok
Tags:
Comment:
MFT r98298
Modified paths:
  • /branches/wmf/1.18wmf1/includes/specials/SpecialBlock.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/includes/specials/SpecialBlock.php
@@ -636,7 +636,7 @@
637637 if( !$status ) {
638638 # Show form unless the user is already aware of this...
639639 if( !$data['Confirm'] || ( array_key_exists( 'PreviousTarget', $data )
640 - && $data['PreviousTarget'] !== $block->getTarget() ) )
 640+ && $data['PreviousTarget'] !== $target ) )
641641 {
642642 return array( array( 'ipb_already_blocked', $block->getTarget() ) );
643643 # Otherwise, try to update the block...

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98298(bug 31206) "Altering blocks doesn't appear to be working". Don't compare str...aaron01:28, 28 September 2011

Status & tagging log