fix device/health

git-svn-id: http://www.observium.org/svn/observer/trunk@3092 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2012-04-26 16:32:34 +00:00
parent 22dad0dae4
commit e0335034e3

View File

@@ -71,12 +71,14 @@ if (is_file("pages/device/health/".mres($vars['metric']).".inc.php"))
{ {
include("pages/device/health/".mres($vars['metric']).".inc.php"); include("pages/device/health/".mres($vars['metric']).".inc.php");
} else { } else {
foreach ($datas as $type) foreach ($datas as $type)
{ {
if ($type != "overview") if ($type != "overview")
{ {
$graph_title = $type_text[$type]; $graph_title = $type_text[$type];
$graph_type = "device_".$type; $graph_array['type'] = "device_".$type;
include("includes/print-device-graph.php"); include("includes/print-device-graph.php");
} }