mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
show pseudowire tab when pseudowires exist rather than when routing exist.
git-svn-id: http://www.observium.org/svn/observer/trunk@3122 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -218,7 +218,7 @@ if (device_permitted($vars['device']) || $check_device == $vars['device'])
|
||||
}
|
||||
|
||||
$device_pw_count = @dbFetchCell("SELECT COUNT(*) FROM `pseudowires` WHERE `device_id` = ?", array($device['device_id']));
|
||||
if ($device_routing_count)
|
||||
if ($device_pw_count)
|
||||
{
|
||||
echo('<li class="' . $select['pseudowires'] . '">
|
||||
<a href="'.generate_device_url($device, array('tab' => 'pseudowires')).'">
|
||||
|
Reference in New Issue
Block a user