From 2952b1244b5ac8fa5bee83e589a7ca46dc59582c Mon Sep 17 00:00:00 2001 From: Jorge Rincon Date: Wed, 24 May 2023 11:52:59 +0200 Subject: [PATCH] #11294 Fixed general search for policies --- pandora_console/operation/search_policies.getdata.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);