diff --git a/src/Kunstmaan/NodeBundle/Controller/NodeAdminController.php b/src/Kunstmaan/NodeBundle/Controller/NodeAdminController.php index a86cd48d04..9d148cdcdf 100644 --- a/src/Kunstmaan/NodeBundle/Controller/NodeAdminController.php +++ b/src/Kunstmaan/NodeBundle/Controller/NodeAdminController.php @@ -639,11 +639,11 @@ public function addHomepageAction(Request $request): RedirectResponse } #[Route(path: '/reorder', name: 'KunstmaanNodeBundle_nodes_reorder', methods: ['POST'])] - public function reorderAction(Request $request): string + public function reorderAction(Request $request): Response { $this->init($request); $nodes = []; - $nodeIds = $request->request->get('nodes'); + $nodeIds = $request->request->all('nodes'); $changeParents = $request->request->get('parent'); foreach ($nodeIds as $id) {