Fixed the agents ok counter for strict acl users

This commit is contained in:
Alejandro Gallardo Escobar 2015-03-10 14:30:27 +01:00
parent 2798b2230a
commit de78ae6542
1 changed files with 2 additions and 1 deletions

View File

@ -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.critical_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";
$count = db_get_sql ($sql);