diff --git a/core/userrights.class.inc.php b/core/userrights.class.inc.php index a4fbdc514..490225f56 100644 --- a/core/userrights.class.inc.php +++ b/core/userrights.class.inc.php @@ -1843,7 +1843,7 @@ class UserRights self::$m_aCacheUsers = array('internal' => array(), 'external' => array()); } - if (!isset(self::$m_aCacheUsers[$sAuthentication][$sLogin])) + if (!array_key_exists($sLogin, self::$m_aCacheUsers[$sAuthentication])) { switch($sAuthentication) {