r21400 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r21399
|
r21400
|
r21401
>
Date:
04:17, 20 April 2007
Author:
tstarling
Status:
old
Tags:
Comment:
Fixed complete breakage of anon-only autoblocks, broken since
r20436
.
Modified paths:
/trunk/phase3/includes/Block.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Block.php
—
—
@@ -149,7 +149,7 @@
150
150
}
151
151
152
152
# Try range block
153
- if ( $this->loadRange( $address, $killExpired, $user == 0 ) ) {
153
+ if ( $this->loadRange( $address, $killExpired, $user ) ) {
154
154
if ( $user && $this->mAnonOnly ) {
155
155
$this->clear();
156
156
return false;
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r20436
*Add mHideName parameter for hiding usernames
aaron
05:24, 14 March 2007