diff --git a/pandora_console/include/functions_agents.php b/pandora_console/include/functions_agents.php index 6446d433f7..f1fa5d5fe4 100644 --- a/pandora_console/include/functions_agents.php +++ b/pandora_console/include/functions_agents.php @@ -370,6 +370,8 @@ function agents_get_agents ($filter = false, $fields = false, if (empty ($filter['id_grupo'])) { $all_groups = true; $filter['id_grupo'] = $groups; + // Include "All group" + $filter['id_grupo'][] = 0; } elseif (! is_array ($filter['id_grupo'])) { $all_groups = false;