From 114797d02502fb7bc9a40f10b41ad8f7ee5aa268 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Fri, 25 Nov 2011 13:57:17 +0000 Subject: [PATCH] only show "latency" tab when there are rrds to be shown. git-svn-id: http://www.observium.org/svn/observer/trunk@2738 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/device.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/pages/device.inc.php b/html/pages/device.inc.php index 5b358240e..a52924229 100644 --- a/html/pages/device.inc.php +++ b/html/pages/device.inc.php @@ -126,7 +126,7 @@ if (device_permitted($vars['device']) || $check_device == $vars['device']) } } - if (count($smokeping_files)) + if (count($smokeping_files['in'][$device['hostname']]) || count($smokeping_files['out'][$device['hostname']])) { echo('