Commit d77c9758 authored by Markus Klein's avatar Markus Klein Committed by Wouter Wolters
Browse files

[BUGFIX] Removed undefined variable in createExceptionHandler

Remove the undefined $exception variable in
ContentObjectRenderer::createExceptionHandler

Resolves: #63811
Releases: master
Change-Id: I1517f74f381534fdc264f39c8e4d425c3711e635
Reviewed-on: http://review.typo3.org/35348


Reviewed-by: Alexander Opitz's avatarAlexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz's avatarAlexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
parent 7240297a
......@@ -865,7 +865,7 @@ class ContentObjectRenderer {
if (!empty($exceptionHandlerClassName)) {
$exceptionHandler = GeneralUtility::makeInstance($exceptionHandlerClassName, $this->mergeExceptionHandlerConfiguration($configuration));
if (!$exceptionHandler instanceof ExceptionHandlerInterface) {
throw new ContentRenderingException('An exception handler was configured but the class does not exist or does not implement the ExceptionHandlerInterface', 1403653369, $exception);
throw new ContentRenderingException('An exception handler was configured but the class does not exist or does not implement the ExceptionHandlerInterface', 1403653369);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment