Fixed error in warning agents counter. Ticket #4122
This commit is contained in:
parent
9db6a2d244
commit
8f0aef7373
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue