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:
707e800
)
Fix bug reported by Slowking_Man where retroactive autoblocks take effect even if...
author
Andrew Garrett
<werdna@users.mediawiki.org>
Mon, 20 Nov 2006 06:01:45 +0000
(06:01 +0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Mon, 20 Nov 2006 06:01:45 +0000
(06:01 +0000)
includes/Block.php
patch
|
blob
|
history
diff --git
a/includes/Block.php
b/includes/Block.php
index
a6646fc
..
39ebe04
100644
(file)
--- a/
includes/Block.php
+++ b/
includes/Block.php
@@
-400,7
+400,8
@@
class Block
$affected = $dbw->affectedRows();
$dbw->commit();
- $this->doRetroactiveAutoblock();
+ if ($affected)
+ $this->doRetroactiveAutoblock();
return $affected;
}