[BUGFIX] Use correct TypoScriptService in ClickEnlargeViewHelper 41/52541/2
authorWouter Wolters <typo3@wouterwolters.nl>
Thu, 20 Apr 2017 18:23:59 +0000 (20:23 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Fri, 21 Apr 2017 07:59:09 +0000 (09:59 +0200)
The Extbase TypoScriptService is used but should use the one from
the core.

Resolves: #80918
Releases: master,8.7
Change-Id: Ice000c0b6807482d442705362ba5fa444baf8eba
Reviewed-on: https://review.typo3.org/52541
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/fluid_styled_content/Classes/ViewHelpers/Link/ClickEnlargeViewHelper.php

index cf9a06a..2e4d062 100644 (file)
@@ -16,8 +16,8 @@ namespace TYPO3\CMS\FluidStyledContent\ViewHelpers\Link;
 
 use TYPO3\CMS\Core\Resource\FileInterface;
 use TYPO3\CMS\Core\Resource\FileReference;
+use TYPO3\CMS\Core\TypoScript\TypoScriptService;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
-use TYPO3\CMS\Extbase\Service\TypoScriptService;
 use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
 use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
 use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;