From 059afa931c7ad2ed16fecd1ca3a09de6d2ec6165 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Mon, 26 Jan 2015 19:51:21 +0100 Subject: [PATCH] Error fixes --- pandora_console/include/class/Tree.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/class/Tree.class.php b/pandora_console/include/class/Tree.class.php index 17d61f4d85..1776e8498b 100644 --- a/pandora_console/include/class/Tree.class.php +++ b/pandora_console/include/class/Tree.class.php @@ -1894,7 +1894,7 @@ class Tree { $resultItem['rootID'][$item2['server_id']] = $item2['rootID']; // Add the matched counters - if (isset($item2['counters']) && !empty($item2['counters']) { + if (isset($item2['counters']) && !empty($item2['counters'])) { foreach ($item2['counters'] as $type => $value) { if (isset($resultItem['counters'][$type])) $resultItem['counters'][$type] += $value;