From 2b1f309faca18fa64d949c5392a30559e40dc9d7 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Thu, 5 May 2011 20:16:00 +0000 Subject: [PATCH] fix adsl git-svn-id: http://www.observium.org/svn/observer/trunk@2258 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/device/ports.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/pages/device/ports.inc.php b/html/pages/device/ports.inc.php index 2844889c6..dac28747d 100644 --- a/html/pages/device/ports.inc.php +++ b/html/pages/device/ports.inc.php @@ -15,7 +15,7 @@ if(mysql_result(mysql_query("SELECT * FROM links AS L, ports AS I WHERE I.device { $menu_options['neighbours'] = 'Neighbours'; } -if(mysql_result(mysql_query("SELECT COUNT(*) FROM `interfaces` WHERE `ifType` = 'adsl'"),0)) +if(mysql_result(mysql_query("SELECT COUNT(*) FROM `ports` WHERE `ifType` = 'adsl'"),0)) { $menu_options['adsl'] = 'ADSL'; }