From 147b3c4bb24d7d48a8354b8a8f4b4892da1bd9dc Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Mon, 15 Nov 2021 17:12:56 +0100 Subject: [PATCH] #8266 Fixed agent view in policies --- pandora_console/include/functions_agents.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandora_console/include/functions_agents.php b/pandora_console/include/functions_agents.php index 2527011320..b625f6ac54 100644 --- a/pandora_console/include/functions_agents.php +++ b/pandora_console/include/functions_agents.php @@ -1181,6 +1181,10 @@ function agents_get_group_agents( } } + if (isset($search['all_agents'])) { + unset($search['all_agents']); + } + if (isset($search['string']) === true) { $string = io_safe_input($search['string']); $filter[] = "(nombre COLLATE utf8_general_ci LIKE '%$string%' OR direccion LIKE '%$string%')";