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
1c374acc3f
commit
10980a8106
@ -2541,9 +2541,9 @@ class Tree {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static function processCounters(&$groups) {
|
static function processCounters(&$groups) {
|
||||||
$all_counters = [];
|
$all_counters = array();
|
||||||
foreach ($groups as $id => $group) {
|
foreach ($groups as $id => $group) {
|
||||||
$child_counters = [];
|
$child_counters = array();
|
||||||
if (!empty($groups[$id]['children'])) {
|
if (!empty($groups[$id]['children'])) {
|
||||||
$child_counters = Tree::processCounters($groups[$id]['children']);
|
$child_counters = Tree::processCounters($groups[$id]['children']);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user