[BUGFIX] Use correct typoscript settings in ClickEnlargeViewHelper 70/43770/3
authorFrans Saris <franssaris@gmail.com>
Sat, 3 Oct 2015 20:34:09 +0000 (22:34 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 5 Oct 2015 19:31:25 +0000 (21:31 +0200)
commit46679815f51345ac87d09b8ec112b7e256edef7b
treefa029027f323c6cd9a1db5206b99be5deecacbbc
parentaa2eafba2a7cada67cde656711ae0c56e9f35c13
[BUGFIX] Use correct typoscript settings in ClickEnlargeViewHelper

The ClickEnlargeViewHelper receives typoscript settings in the extbase
format without the leading dots. The code called by the viewHelper
expects the typoscript syntax with the leadings dots.

This patch converts the settings array to a TypoScript array before
passing the settings to imageLinkWrap().

Change-Id: I19da35b10d079dddc19a18ecdff4ae8ebe1bdc9f
Resolves: #70317
Releases: master
Reviewed-on: http://review.typo3.org/43770
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Josef Glatz <jousch@gmail.com>
Tested-by: Josef Glatz <jousch@gmail.com>
Reviewed-by: Alexander Grein <alexander.grein@gmail.com>
Tested-by: Alexander Grein <alexander.grein@gmail.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/fluid_styled_content/Classes/ViewHelpers/Link/ClickEnlargeViewHelper.php