mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Fixed the empty() vlan detection check (#7241)
This commit is contained in:
@@ -29,7 +29,7 @@ if ($device['os'] === 'junos') {
|
||||
require 'includes/discovery/vlans/avaya-ers.inc.php';
|
||||
}
|
||||
|
||||
if (is_array($device['vlans']) == false) {
|
||||
if (empty($device['vlans']) === true) {
|
||||
require 'includes/discovery/vlans/q-bridge-mib.inc.php';
|
||||
require 'includes/discovery/vlans/cisco-vtp.inc.php';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user