From acb8104832650a56153765c8d76cf0be09779686 Mon Sep 17 00:00:00 2001 From: Esteban Sanchez Date: Wed, 11 Mar 2009 14:35:32 +0000 Subject: [PATCH] 2009-03-11 Esteban Sanchez * include/functions_reporting.php: Fixed an error on get_group_stats() that gives wrong monitor status count because it was counting some modules twice. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/include/functions_reporting.php | 1 - 1 file changed, 1 deletion(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 6ecdf79ba5..72cc954bca 100644 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -169,7 +169,6 @@ function get_group_stats ($id_group = 0) { */ if ($data["monitor_bad"] > 0 && $data["monitor_checks"] > 0) { - echo $data["monitor_bad"].' / '.$data["monitor_checks"]; $data["monitor_health"] = format_numeric (100 - ($data["monitor_bad"] / ($data["monitor_checks"] / 100)), 1); } else { $data["monitor_health"] = 100;