[BUGFIX] Fix parseUserFuncArguments to respect 0 as argument 25/41225/2
authorSascha Egerer <sascha@sascha-egerer.de>
Tue, 14 Jul 2015 15:54:41 +0000 (17:54 +0200)
committerBenjamin Mack <benni@typo3.org>
Tue, 14 Jul 2015 17:19:21 +0000 (19:19 +0200)
commit19f10f405e0782530798b00d3f27bc982dae514c
tree404ec450e120806e6cf2d9a9c0eef2d4c89d3dc6
parent21a105ebfe8812302a6e7edf9776b423b73f6ae9
[BUGFIX] Fix parseUserFuncArguments to respect 0 as argument

"0" must be an valid "last argument" value in the parseUserFuncArguments
method.

The implementation of the argument iteration must strictly check if
the arguments string is empty.

Change-Id: I8cee20a48030ea9163f55723d9027f39c43e5e1c
Resolves: #68132
Related: #61256
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/41225
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php