Skip to content

Commit

Permalink
Change second parameter to null in function redirectToUri
Browse files Browse the repository at this point in the history
  • Loading branch information
beatrycze-volk committed Oct 7, 2024
1 parent 614efdf commit 577a7ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/ExtendController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
}
}
Expand Down

0 comments on commit 577a7ea

Please sign in to comment.