From de78ae65421841df973bf4ef0193caa30269cc55 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Tue, 10 Mar 2015 14:30:27 +0100 Subject: [PATCH] Fixed the agents ok counter for strict acl users --- pandora_console/include/functions_groups.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/functions_groups.php b/pandora_console/include/functions_groups.php index 9f0a9f7b58..13fde48eae 100644 --- a/pandora_console/include/functions_groups.php +++ b/pandora_console/include/functions_groups.php @@ -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);