From bc98327bb4bd537d401f6ca6f2738f81fa6989ef Mon Sep 17 00:00:00 2001 From: "manuel.montes" Date: Mon, 28 May 2018 17:33:35 +0200 Subject: [PATCH] Fixed cache in functions_users.php --- pandora_console/include/functions_users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_users.php b/pandora_console/include/functions_users.php index 331e08845b..e20b2c6ef5 100755 --- a/pandora_console/include/functions_users.php +++ b/pandora_console/include/functions_users.php @@ -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]; }