diff options
author | jim-p <jim@pingle.org> | 2010-11-10 21:56:12 -0500 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2010-11-10 21:56:12 -0500 |
commit | 2b30323ef3ebbd11d84e913db3b33e514b0657a6 (patch) | |
tree | a30213780281735a06eabacafff7b0ceee58ddda /usr/local | |
parent | fa6c42d05be581f9515db720d0e8a142e916c050 (diff) | |
download | pfsense-2b30323ef3ebbd11d84e913db3b33e514b0657a6.zip pfsense-2b30323ef3ebbd11d84e913db3b33e514b0657a6.tar.gz |
Copy logic for when to show the cellular tab from status_rrd_graph.php. Fixes #714
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/status_rrd_graph_settings.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_rrd_graph_settings.php b/usr/local/www/status_rrd_graph_settings.php index 7c01d8d..6fb943a 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")) { |