Skip to content

Commit

Permalink
Merge pull request #43 from beatrycze-volk/fix-redirect
Browse files Browse the repository at this point in the history
[BUGFIX] Change second parameter to `null` in function `redirectToUri`
  • Loading branch information
beatrycze-volk authored Oct 8, 2024
2 parents f3e5b25 + 577a7ea commit 8683f3f
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 8683f3f

Please sign in to comment.