Only check LoggedOut timestamp on the user loaded from session
[lhc/web/wiklou.git] / includes / user / LocalIdLookup.php
index 04c5b90..58892ea 100644 (file)
@@ -40,7 +40,7 @@ class LocalIdLookup extends CentralIdLookup {
                }
 
                // Easy case, we're checking locally
-               if ( $wikiId === null || $wikiId === wfWikiId() ) {
+               if ( $wikiId === null || $wikiId === wfWikiID() ) {
                        return true;
                }