Error fixes

This commit is contained in:
Alejandro Gallardo Escobar 2015-01-26 19:51:21 +01:00
parent b5371e3d7c
commit 059afa931c

View File

@ -1894,7 +1894,7 @@ class Tree {
$resultItem['rootID'][$item2['server_id']] = $item2['rootID']; $resultItem['rootID'][$item2['server_id']] = $item2['rootID'];
// Add the matched counters // Add the matched counters
if (isset($item2['counters']) && !empty($item2['counters']) { if (isset($item2['counters']) && !empty($item2['counters'])) {
foreach ($item2['counters'] as $type => $value) { foreach ($item2['counters'] as $type => $value) {
if (isset($resultItem['counters'][$type])) if (isset($resultItem['counters'][$type]))
$resultItem['counters'][$type] += $value; $resultItem['counters'][$type] += $value;