mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed minor bug with Tree view.
This commit is contained in:
parent
3ac548cc3b
commit
db28ad3e80
@ -2541,9 +2541,9 @@ class Tree {
|
||||
}
|
||||
|
||||
static function processCounters(&$groups) {
|
||||
$all_counters = [];
|
||||
$all_counters = array();
|
||||
foreach ($groups as $id => $group) {
|
||||
$child_counters = [];
|
||||
$child_counters = array();
|
||||
if (!empty($groups[$id]['children'])) {
|
||||
$child_counters = Tree::processCounters($groups[$id]['children']);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user