X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fuser%2FLocalIdLookup.php;h=ca3db5b07d505d19038beee9717e9aeb519f28b6;hb=9189db0c50cd4f755efc1d0ce061f6c04b236a40;hp=0a345540ffc3445931424894334579e94c9b70fa;hpb=75d8b6c6cd2b70d98242e1246678c12e973a5dfa;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/user/LocalIdLookup.php b/includes/user/LocalIdLookup.php index 0a345540ff..ca3db5b07d 100644 --- a/includes/user/LocalIdLookup.php +++ b/includes/user/LocalIdLookup.php @@ -41,7 +41,7 @@ class LocalIdLookup extends CentralIdLookup { } // Easy case, we're checking locally - if ( $wikiId === null || $wikiId === wfWikiID() ) { + if ( $wikiId === null || WikiMap::isCurrentWikiId( $wikiId ) ) { return true; }