From 2b30323ef3ebbd11d84e913db3b33e514b0657a6 Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 10 Nov 2010 21:56:12 -0500 Subject: [PATCH] Copy logic for when to show the cellular tab from status_rrd_graph.php. Fixes #714 --- usr/local/www/status_rrd_graph_settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/www/status_rrd_graph_settings.php b/usr/local/www/status_rrd_graph_settings.php index 7c01d8d043..6fb943a753 100755 --- a/usr/local/www/status_rrd_graph_settings.php +++ b/usr/local/www/status_rrd_graph_settings.php @@ -90,7 +90,7 @@ foreach($databases as $database) { if(stristr($database, "queues")) { $queues = true; } - if(stristr($database, "cellular")) { + if(stristr($database, "-cellular") && !empty($config['ppps'])) { $cellular = true; } if(stristr($database, "-vpnusers")) {