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:
03cda80
)
Fix bug where checking another user's blocked status (like for contributions) would...
author
Andrew Garrett
<werdna@users.mediawiki.org>
Thu, 17 Sep 2009 00:56:27 +0000
(
00:56
+0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Thu, 17 Sep 2009 00:56:27 +0000
(
00:56
+0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
86e9dff
..
995e6c1
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-1118,7
+1118,7
@@
class User {
$this->mBlockreason = $this->mBlock->mReason;
$this->mHideName = $this->mBlock->mHideName;
$this->mAllowUsertalk = $this->mBlock->mAllowUsertalk;
- if ( $this->isLoggedIn() ) {
+ if ( $this->isLoggedIn()
&& $wgUser->getID() == $this->getID()
) {
$this->spreadBlock();
}
} else {