From fa66ff9a0ab52e59c4ce8f833a6a97d530d83ffe Mon Sep 17 00:00:00 2001 From: Alexander Kellner Date: Fri, 2 Feb 2024 14:18:20 +0100 Subject: [PATCH] [BUGFIX] Replace ->setArguments() with ->withArguments() in extbase context for TYPO3 12 Fixes: https://github.com/in2code-de/luxletter/issues/208 --- Classes/Controller/FrontendController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Controller/FrontendController.php b/Classes/Controller/FrontendController.php index 2997ed2..56884fb 100644 --- a/Classes/Controller/FrontendController.php +++ b/Classes/Controller/FrontendController.php @@ -160,7 +160,7 @@ public function initializeUnsubscribe2Action(): void { $arguments = GeneralUtility::_GP('tx_luxletter_fe'); if (is_array($arguments)) { - $this->request->setArguments($arguments); + $this->request = $this->request->withArguments($arguments); } }