diff --git a/html/pages/device/health.inc.php b/html/pages/device/health.inc.php index 243a0b685..b510438b0 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 = " | ";