dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Remove #toc and #toctitle style definitions"
[lhc/web/wiklou.git]
/
includes
/
user
/
User.php
diff --git
a/includes/user/User.php
b/includes/user/User.php
index
ab791b4
..
d6523a7
100644
(file)
--- a/
includes/user/User.php
+++ b/
includes/user/User.php
@@
-885,7
+885,7
@@
class User implements IDBAccessObject, UserIdentity {
return null;
}
- if ( !( $flags & self::READ_LATEST ) &&
isset( self::$idCacheByName[$name]
) ) {
+ if ( !( $flags & self::READ_LATEST ) &&
array_key_exists( $name, self::$idCacheByName
) ) {
return self::$idCacheByName[$name];
}