From e0335034e3c39e5ccfb4b66316570b6eba6b73f0 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Thu, 26 Apr 2012 16:32:34 +0000 Subject: [PATCH] fix device/health git-svn-id: http://www.observium.org/svn/observer/trunk@3092 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/device/health.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/html/pages/device/health.inc.php b/html/pages/device/health.inc.php index a4aa356732..c204c51e4d 100644 --- a/html/pages/device/health.inc.php +++ b/html/pages/device/health.inc.php @@ -71,12 +71,14 @@ if (is_file("pages/device/health/".mres($vars['metric']).".inc.php")) { include("pages/device/health/".mres($vars['metric']).".inc.php"); } else { + foreach ($datas as $type) { if ($type != "overview") { + $graph_title = $type_text[$type]; - $graph_type = "device_".$type; + $graph_array['type'] = "device_".$type; include("includes/print-device-graph.php"); }