Revert behavior change in \UserRights::FindUser

Was made in 2ab0fab0 by mistake
This commit is contained in:
Pierre Goiffon
2021-11-04 17:25:47 +01:00
parent a1a38ca224
commit 2e426d373d

View File

@@ -1860,7 +1860,7 @@ class UserRights
self::$m_aCacheUsers = array('internal' => array(), 'external' => array()); self::$m_aCacheUsers = array('internal' => array(), 'external' => array());
} }
if (!array_key_exists($sLogin, self::$m_aCacheUsers[$sAuthentication])) if (!isset($sLogin, self::$m_aCacheUsers[$sAuthentication]))
{ {
switch($sAuthentication) switch($sAuthentication)
{ {