X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fuser%2FLocalIdLookup.php;h=ca3db5b07d505d19038beee9717e9aeb519f28b6;hp=0a345540ffc3445931424894334579e94c9b70fa;hb=dcd0a3d53;hpb=18b211c3341791f35961ac4ea09d092cb7c389d1 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; }