Skip to content

Commit

Permalink
Merge branch '7.1' into 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Mar 16, 2022
2 parents 1381ba6 + 956f9f5 commit 76b4dc2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Neos.Flow/Classes/Error/AbstractExceptionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,11 @@ protected function buildView(\Throwable $exception, array $renderingOptions): Vi

$statusMessage = ResponseInformationHelper::getStatusMessageByCode($statusCode);
$viewClassName = $renderingOptions['viewClassName'];
$viewOptions = array_filter($renderingOptions['viewOptions'], static function ($optionValue) {
return $optionValue !== null;
});
/** @var ViewInterface $view */
$view = $viewClassName::createWithOptions($renderingOptions['viewOptions']);
$view = $viewClassName::createWithOptions($viewOptions);
$view = $this->applyLegacyViewOptions($view, $renderingOptions);

$httpRequest = ServerRequest::fromGlobals();
Expand Down

0 comments on commit 76b4dc2

Please sign in to comment.