[BUGFIX] Properly check TS conditions with key '0' 10/35910/5
authorChristian Futterlieb <christian@futterlieb.ch>
Thu, 8 Jan 2015 18:21:09 +0000 (19:21 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Sat, 10 Jan 2015 21:51:49 +0000 (22:51 +0100)
commitbfbd87808877a1cc003662322e3893d4bcafee6c
treee809f064464eaeb24bf18dcb067faa4e85e4b40b
parentcef71f889cc4688a6b9ee1cbe986a67cc08f586f
[BUGFIX] Properly check TS conditions with key '0'

Global vars and strings from array expressions with key '0' must be
checked correctly in TS conditions.
E.g. when using [globalVar = GP:myoption|0 = 1] the 0 is now
correctly evaluated.

Resolves: #64192
Releases: master, 6.2
Change-Id: I1100042670ffd458dfb81e6a6eac126dbc01a531
Reviewed-on: http://review.typo3.org/35910
Reviewed-by: Christian Futterlieb <christian@futterlieb.ch>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php
typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php