From 42fa083bf1030e1e84fc807e1e1bf86e3334277b Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Mon, 19 Sep 2011 09:02:25 +0000 Subject: [PATCH] fix device health tab links git-svn-id: http://www.observium.org/svn/observer/trunk@2502 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/device/health.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/html/pages/device/health.inc.php b/html/pages/device/health.inc.php index 243a0b6854..b510438b08 100644 --- a/html/pages/device/health.inc.php +++ b/html/pages/device/health.inc.php @@ -40,6 +40,10 @@ $type_text['frequency'] = "Frequency"; $type_text['current'] = "Current"; $type_text['power'] = "Power"; +$link_array = array('page' => 'device', + 'device' => $device['device_id'], + 'tab' => 'health'); + print_optionbar_start(); echo("Health » "); @@ -53,7 +57,6 @@ foreach ($datas as $type) if ($vars['metric'] == $type) { echo(''); } - echo(generate_link($type_text[$type],$link_array,array('metric'=>$type))); if ($vars['metric'] == $type) { echo(""); } $sep = " | ";