Fixed an error on the module group tree counters

This commit is contained in:
Alejandro Gallardo Escobar 2015-01-02 09:55:30 +01:00
parent 13e27b07d4
commit eb23864128
1 changed files with 2 additions and 2 deletions

View File

@ -585,8 +585,8 @@ class Tree {
// Increase counters
$actual_module_group_root['counters']['total']++;
if (isset($actual_module_group_root['counters'][$agent['status']]))
$actual_module_group_root['counters'][$agent['status']]++;
if (isset($actual_module_group_root['counters'][$actual_agent['status']]))
$actual_module_group_root['counters'][$actual_agent['status']]++;
}
}
// If there is an agent and a module group open and not saved