mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed an error on the module group tree counters
This commit is contained in:
parent
2b00ac49f9
commit
de3b835d00
@ -585,8 +585,8 @@ class Tree {
|
|||||||
// Increase counters
|
// Increase counters
|
||||||
$actual_module_group_root['counters']['total']++;
|
$actual_module_group_root['counters']['total']++;
|
||||||
|
|
||||||
if (isset($actual_module_group_root['counters'][$agent['status']]))
|
if (isset($actual_module_group_root['counters'][$actual_agent['status']]))
|
||||||
$actual_module_group_root['counters'][$agent['status']]++;
|
$actual_module_group_root['counters'][$actual_agent['status']]++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// If there is an agent and a module group open and not saved
|
// If there is an agent and a module group open and not saved
|
||||||
|
Loading…
x
Reference in New Issue
Block a user