mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
- BUFIX: NULL vs array(NULL)
git-svn-id: http://www.observium.org/svn/observer/trunk@2394 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -188,7 +188,7 @@ foreach ($ports as $port)
|
||||
{
|
||||
if ($port[$oid] != $this_port[$oid] && !isset($this_port[$oid]))
|
||||
{
|
||||
$port['update'][$oid] = array(NULL);
|
||||
$port['update'][$oid] = NULL;
|
||||
log_event($oid . ": ".$port[$oid]." -> NULL", $device, 'interface', $port['interface_id']);
|
||||
if ($debug) { echo($oid . ": ".$port[$oid]." -> NULL "); } else { echo($oid . " "); }
|
||||
} elseif ($port[$oid] != $this_port[$oid]) {
|
||||
|
Reference in New Issue
Block a user