mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 15:34:12 +01:00
N°4211 - Remove DBObject::Reload calls added in 3.0.0 - Fix User cache when user not in DB
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user