#11294 Fixed general search for policies

This commit is contained in:
Jorge Rincon 2023-05-24 11:52:59 +02:00
parent a5b84756d3
commit 2952b1244b
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ if ($searchpolicies === true) {
and which the user have permission on this groups
*/
$user_groups = users_get_groups($config['id_user'], 'AR', false);
$user_groups = users_get_groups($config['id_user'], 'AR', true);
$id_user_groups = array_keys($user_groups);
$id_user_groups_str = implode(',', $id_user_groups);