[BUGFIX] Re-enable "default" option in Fluid Case ViewHelper 75/50575/2
authorBenni Mack <benni@typo3.org>
Thu, 10 Nov 2016 12:26:27 +0000 (13:26 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 10 Nov 2016 12:54:17 +0000 (13:54 +0100)
commit0ee3995d8c67f172adc03fae1510be5141b3bae9
tree4d3c00c23686fe1af8220b223e31cb77ff2431ea
parentd5c5c76eb7187b53ebe1476b85ac29039a612e8c
[BUGFIX] Re-enable "default" option in Fluid Case ViewHelper

A bug, introduced with the registerArguments option does
not work properly anymore with the "default" option for the <f:case>
viewhelper.

Casting the argument let's the option be evaluated again.

Resolves: #78638
Releases: master
Change-Id: I5b245378db4fab430fc0670b3a4a77de6c3b863f
Reviewed-on: https://review.typo3.org/50575
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/fluid/Classes/ViewHelpers/CaseViewHelper.php