diff --git a/pandora_console/include/functions_agents.php b/pandora_console/include/functions_agents.php index 6384d94cbe..16bdb974c6 100644 --- a/pandora_console/include/functions_agents.php +++ b/pandora_console/include/functions_agents.php @@ -922,7 +922,7 @@ function agents_get_group_agents ( } if (isset($search['id_os'])) { - $filter[] = "id_os = ". $search['id_os']; + $filter['id_os'] = $search['id_os']; } if (isset($search['status'])) {