diff --git a/pandora_console/include/functions_groups.php b/pandora_console/include/functions_groups.php index 23b73b498e..09ab75fb5c 100644 --- a/pandora_console/include/functions_groups.php +++ b/pandora_console/include/functions_groups.php @@ -1383,7 +1383,7 @@ function groups_get_agents_counter ($group, $agent_filter = array(), $module_fil $count ++; break; case AGENT_STATUS_WARNING: - if ($total > 0 && $critical = 0 && $warning > 0) + if (($total > 0) && ($critical == 0) && ($warning > 0)) $count ++; break; case AGENT_STATUS_UNKNOWN: