From 6f36183265c5c2d09d231c1de572d4ad9028ff66 Mon Sep 17 00:00:00 2001 From: Robert Swoboda <53216935+Gengar-i@users.noreply.github.com> Date: Tue, 20 Feb 2024 14:13:03 +0100 Subject: [PATCH] Fixed variables passed by url --- src/bundle/Controller/UserSettingsController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bundle/Controller/UserSettingsController.php b/src/bundle/Controller/UserSettingsController.php index a9041d0..50e1e1b 100644 --- a/src/bundle/Controller/UserSettingsController.php +++ b/src/bundle/Controller/UserSettingsController.php @@ -114,8 +114,8 @@ public function updateAction(Request $request, UpdateView $view) if ($request->query->has('route')) { $route = $request->query->get('route'); - $contentId = $request->query->get('content_id'); - $versionNo = $request->query->get('version'); + $contentId = $request->query->get('contentId'); + $versionNo = $request->query->get('versionNo'); $language = $request->query->get('language'); return $this->redirectToRoute($route, [