Skip to content

Commit 5c0fcf0

Browse files
committed
Update NestableCollection.php
1 parent f0302a7 commit 5c0fcf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NestableCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function listsFlattened($column = 'title', BaseCollection $collection = n
8080
foreach ($collection as $item) {
8181
$flattened[$item->id] = str_repeat($indentChars, $level) . $item->$column;
8282
if ($item->items) {
83-
$this->listsFlattened($column, $item->items, $level + 1, $flattened);
83+
$this->listsFlattened($column, $item->items, $level + 1, $flattened, $indentChars);
8484
}
8585
}
8686

0 commit comments

Comments
 (0)