dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2b9975
)
(bug 31206) "Altering blocks doesn't appear to be working". Don't compare string...
author
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 28 Sep 2011 01:28:29 +0000
(
01:28
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 28 Sep 2011 01:28:29 +0000
(
01:28
+0000)
includes/specials/SpecialBlock.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialBlock.php
b/includes/specials/SpecialBlock.php
index
d0b806a
..
9c27511
100644
(file)
--- a/
includes/specials/SpecialBlock.php
+++ b/
includes/specials/SpecialBlock.php
@@
-643,7
+643,7
@@
class SpecialBlock extends SpecialPage {
if( !$status ) {
# Show form unless the user is already aware of this...
if( !$data['Confirm'] || ( array_key_exists( 'PreviousTarget', $data )
- && $data['PreviousTarget'] !== $
block->getTarget()
) )
+ && $data['PreviousTarget'] !== $
target
) )
{
return array( array( 'ipb_already_blocked', $block->getTarget() ) );
# Otherwise, try to update the block...