From b405b80494afb66210b52de7da530c59a2aa5fed Mon Sep 17 00:00:00 2001 From: Geert Hauwaerts Date: Tue, 19 Jul 2011 18:13:05 +0000 Subject: [PATCH] - BUFIX: NULL vs array(NULL) git-svn-id: http://www.observium.org/svn/observer/trunk@2394 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/polling/ports.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/polling/ports.inc.php b/includes/polling/ports.inc.php index ae12ee3a89..3707922700 100755 --- a/includes/polling/ports.inc.php +++ b/includes/polling/ports.inc.php @@ -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]) {