mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
Fixed error in warning agents counter. Ticket #4122
(cherry picked from commit 8f0aef737331b56c5cb23e5286f0b1b1c8b374f4)
This commit is contained in:
parent
404e0bd746
commit
0cb22a9b8a
@ -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…
x
Reference in New Issue
Block a user