Commit 28aea2be authored by Stefan Galinski's avatar Stefan Galinski 🎮

[BUGFIX] Fix crash with non array parameter

parent 0f3f5aca
......@@ -167,7 +167,7 @@ class RoutingService {
try {
$response = $errorController->pageNotFoundAction(
$GLOBALS['TYPO3_REQUEST'], 'Page Not Found', $parameters['pageAccessFailureReasons']
$GLOBALS['TYPO3_REQUEST'], 'Page Not Found', (array) $parameters['pageAccessFailureReasons']
} catch (PageNotFoundException $exception) {
// this can happen if e.g. the wanted error page can't be fetched.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment