mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Fixed cache in functions_users.php
This commit is contained in:
parent
01cce15955
commit
bc98327bb4
@ -344,7 +344,7 @@ function users_get_groups ($id_user = false, $privilege = "AR", $returnAllGroup
|
|||||||
|
|
||||||
$acl_column = get_acl_column($privilege);
|
$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];
|
return $users_group_cache[$users_group_cache_key];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user