Merge branch '2154-Fallo-de-visualización-al-crear-y-eliminar-grupos-de-agentes' into 'develop'
2154 fallo de visualización al crear y eliminar grupos de agentes See merge request artica/pandorafms!1502
This commit is contained in:
commit
9cd95e2a48
|
@ -344,7 +344,7 @@ function users_get_groups ($id_user = false, $privilege = "AR", $returnAllGroup
|
|||
|
||||
$acl_column = get_acl_column($privilege);
|
||||
|
||||
if (array_key_exists($users_group_cache_key, $users_group_cache)) {
|
||||
if (array_key_exists($users_group_cache_key, $users_group_cache) && $cache) {
|
||||
return $users_group_cache[$users_group_cache_key];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue