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:
ab8784d
)
Minor logic error on removing blocks on range when tweaking an IP.
author
Chad Horohoe
<demon@users.mediawiki.org>
Mon, 9 Jun 2008 22:35:17 +0000
(22:35 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Mon, 9 Jun 2008 22:35:17 +0000
(22:35 +0000)
includes/SpecialBlockip.php
patch
|
blob
|
history
diff --git
a/includes/SpecialBlockip.php
b/includes/SpecialBlockip.php
index
620fd80
..
495ee74
100644
(file)
--- a/
includes/SpecialBlockip.php
+++ b/
includes/SpecialBlockip.php
@@
-388,7
+388,7
@@
class IPBlockForm {
if ( wfRunHooks('BlockIp', array(&$block, &$wgUser)) ) {
- if ( $oldblock = Block::newFromDB( $this->BlockAddress ) ) {
+ if ( $oldblock = Block::newFromDB( $this->BlockAddress )
&& $oldblock->mAddress == $this->BlockAddress
) {
$oldblock->delete(); // Block already exists. Silently delete it
}
$block->insert();