mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
fix adsl
git-svn-id: http://www.observium.org/svn/observer/trunk@2258 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user