diff --git a/pandora_console/operation/agentes/group_view.php b/pandora_console/operation/agentes/group_view.php index a8e04339c9..1a07ed8a24 100644 --- a/pandora_console/operation/agentes/group_view.php +++ b/pandora_console/operation/agentes/group_view.php @@ -137,7 +137,7 @@ echo ""; //Groups and tags $result_groups = groupview_get_groups_list($config['id_user'], $strict_user, - ($agent_a == true) ? 'AR' : ($agent_w == true) ? 'AW' : 'AR', true, true); + ($agent_a == true) ? 'AR' : (($agent_w == true) ? 'AW' : 'AR'), true, true); $count = count($result_groups);