- 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:
Geert Hauwaerts
2011-07-19 18:13:05 +00:00
parent 1ad4217f53
commit b405b80494

View File

@ -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]) {