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:
d35ccbc
)
Fixed complete breakage of anon-only autoblocks, broken since r20436.
author
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 20 Apr 2007 04:17:15 +0000
(
04:17
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 20 Apr 2007 04:17:15 +0000
(
04:17
+0000)
includes/Block.php
patch
|
blob
|
history
diff --git
a/includes/Block.php
b/includes/Block.php
index
6257b71
..
94bfa5b
100644
(file)
--- a/
includes/Block.php
+++ b/
includes/Block.php
@@
-149,7
+149,7
@@
class Block
}
# Try range block
- if ( $this->loadRange( $address, $killExpired, $user
== 0
) ) {
+ if ( $this->loadRange( $address, $killExpired, $user ) ) {
if ( $user && $this->mAnonOnly ) {
$this->clear();
return false;