Error fixes

This commit is contained in:
Alejandro Gallardo Escobar 2015-01-26 19:51:21 +01:00
parent b5371e3d7c
commit 059afa931c
1 changed files with 1 additions and 1 deletions

View File

@ -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;