From 577a7eabc171bffb36b8ac33b283d0ad669c5af3 Mon Sep 17 00:00:00 2001 From: Beatrycze Volk Date: Mon, 7 Oct 2024 18:58:29 +0200 Subject: [PATCH] Change second parameter to `null` in function `redirectToUri` --- Classes/Controller/ExtendController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Controller/ExtendController.php b/Classes/Controller/ExtendController.php index 7530625..1d6cc79 100644 --- a/Classes/Controller/ExtendController.php +++ b/Classes/Controller/ExtendController.php @@ -183,7 +183,7 @@ public function disableAction() ->setTargetPageUid($this->settings['pids']['rootPage']) ->build(); try { - $this->redirectToUri($uri, 0, 404); + $this->redirectToUri($uri, null, 404); } catch (StopActionException | UnsupportedRequestTypeException $e) { } }