Skip to content

Commit

Permalink
Fixed variables passed by url
Browse files Browse the repository at this point in the history
  • Loading branch information
Gengar-i committed Mar 13, 2024
1 parent 31c7226 commit 6f36183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bundle/Controller/UserSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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, [
Expand Down

0 comments on commit 6f36183

Please sign in to comment.