[BUGFIX] Wrong result on unequal globalVar condition 61/21661/2
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Wed, 26 Jun 2013 13:01:31 +0000 (15:01 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 26 Jun 2013 14:20:43 +0000 (16:20 +0200)
commit177eac93a109f1bf913a50377541a65940fa50ce
tree9f4555d1edb575a74dc4e6689150020a0d722ab2
parent41b483d4fc639bf5d34dcd6eaeb7bc7f56661305
[BUGFIX] Wrong result on unequal globalVar condition

A TypoScript condition like "[globalVar = LIT:10 != 10]"
returns a true value instead of the expected false value.
The reason for that is a superfluous trinity (type safe)
comparator.

Change-Id: Ib9f468da0a129f08d5d071a4f97bd09904f0c91b
Fixes: #45165
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/21661
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/backend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php
typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php
typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php