[FOLLOWUP][TASK] Make ViewHelpers compilable in ext:install 88/39288/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 6 May 2015 06:50:54 +0000 (08:50 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Wed, 6 May 2015 06:52:37 +0000 (08:52 +0200)
Resolves: #66757
Releases: master
Change-Id: Icba1a587b460618b65a93242c4f29260e1781d93
Reviewed-on: http://review.typo3.org/39288
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/install/Classes/ViewHelpers/File/ImageDimensionViewHelper.php

index 28ef9dd..d2d9340 100644 (file)
@@ -67,7 +67,7 @@ class ImageDimensionViewHelper extends AbstractViewHelper implements CompilableI
                                1369563247
                        );
                }
-               $absolutePathToFile = $this->renderChildren();
+               $absolutePathToFile = $renderChildrenClosure();
                if (!is_file($absolutePathToFile)) {
                        throw new \TYPO3\CMS\Install\ViewHelpers\Exception(
                                'File not found',