Skip to content

Commit 0d94735

Browse files
committed
feat(core): update code base for new Flextype 0.9.9 - next round
1 parent cce18c4 commit 0d94735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Controllers/EntriesController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ public function move(Request $request, Response $response) : Response
464464

465465
// Get entries list
466466
$entries_list['/'] = '/';
467-
foreach ($this->entries->fetch('', ['depth' => '>0', 'order_by' => ['field' => ['slug']]]) as $_entry) {
467+
foreach ($this->entries->fetchCollection('', ['depth' => '>0', 'order_by' => ['field' => ['slug']]]) as $_entry) {
468468
if ($_entry['slug'] != '') {
469469
$entries_list[$_entry['slug']] = $_entry['slug'];
470470
} else {

0 commit comments

Comments
 (0)