diff --git a/src/Database/TreeCollection.php b/src/Database/TreeCollection.php index 7b9d0af57..55ab24501 100644 --- a/src/Database/TreeCollection.php +++ b/src/Database/TreeCollection.php @@ -73,9 +73,7 @@ public function listsNested($value, $key = null, $indent = '   ') $result[] = $indentString . $item->{$value}; } - /* - * Add the children - */ + // Add the children $childItems = $item->getChildren(); if ($childItems->count() > 0) { $result = $result + $buildCollection($childItems, $depth + 1);