diff --git a/pandora_console/operation/search_policies.getdata.php b/pandora_console/operation/search_policies.getdata.php index 4a8b656f09..00233d2936 100644 --- a/pandora_console/operation/search_policies.getdata.php +++ b/pandora_console/operation/search_policies.getdata.php @@ -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);