mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Fix Scrutinizer issue
- "The variable $names does not seem to be defined for all execution paths leading up to this point."
This commit is contained in:
@@ -37,8 +37,8 @@ ORDER BY ipv4_address
|
||||
|
||||
// FIXME: Observium now uses ip_mac.ip_address in place of ipv4_mac.ipv4_address - why?
|
||||
|
||||
unset($names);
|
||||
unset($ips);
|
||||
$names = array();
|
||||
$ips = array();
|
||||
|
||||
foreach (dbFetchRows($sql, array($deviceid)) as $entry)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user