fix cef showing up in device/routing

git-svn-id: http://www.observium.org/svn/observer/trunk@2109 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong 2011-04-20 16:37:13 +00:00
parent d038a24ffe
commit 4d55d5405c

View File

@ -6,7 +6,7 @@ $datas[] = 'overview';
$bgp_count = mysql_result(mysql_query("select count(*) from bgpPeers WHERE device_id = '" . $device['device_id'] . "'"), 0);
if ($bgp_count) { $datas[] = 'bgp'; }
$bgp_count = mysql_result(mysql_query("select count(*) from cef_switching WHERE device_id = '" . $device['device_id'] . "'"), 0);
$cef_count = mysql_result(mysql_query("select count(*) from cef_switching WHERE device_id = '" . $device['device_id'] . "'"), 0);
if ($cef_count) { $datas[] = 'cef'; }
$type_text['overview'] = "Overview";