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:
vgilc 2018-06-05 11:11:57 +02:00
commit 9cd95e2a48
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}