Index: trunk/phase3/includes/specials/SpecialBlock.php |
— | — | @@ -643,7 +643,7 @@ |
644 | 644 | if( !$status ) { |
645 | 645 | # Show form unless the user is already aware of this... |
646 | 646 | if( !$data['Confirm'] || ( array_key_exists( 'PreviousTarget', $data ) |
647 | | - && $data['PreviousTarget'] !== $block->getTarget() ) ) |
| 647 | + && $data['PreviousTarget'] !== $target ) ) |
648 | 648 | { |
649 | 649 | return array( array( 'ipb_already_blocked', $block->getTarget() ) ); |
650 | 650 | # Otherwise, try to update the block... |