mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed the agents ok counter for strict acl users
This commit is contained in:
parent
2798b2230a
commit
de78ae6542
@ -1287,7 +1287,8 @@ function groups_agent_ok ($group_array, $strict_user = false, $id_group_strict =
|
|||||||
AND ta.id_grupo = $id_group_strict
|
AND ta.id_grupo = $id_group_strict
|
||||||
AND ta.critical_count = 0
|
AND ta.critical_count = 0
|
||||||
AND ta.warning_count = 0
|
AND ta.warning_count = 0
|
||||||
AND ta.normal_count = total_count
|
AND ta.unknown_count = 0
|
||||||
|
AND ta.normal_count > 0
|
||||||
$tags_clause";
|
$tags_clause";
|
||||||
|
|
||||||
$count = db_get_sql ($sql);
|
$count = db_get_sql ($sql);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user