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