Copy logic for when to show the cellular tab from status_rrd_graph.php. Fixes #714

This commit is contained in:
jim-p 2010-11-10 21:56:12 -05:00
parent fa6c42d05b
commit 2b30323ef3

View File

@ -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")) {