[BUGFIX] Wrong result on unequal globalVar condition 64/21664/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:24:07 +0000 (16:24 +0200)
commit9b08788a422f8425a5198048f1966edbf87204ce
tree03d3691a2f36fe77628e781b99f76a7134eb095c
parente26708c581afac8fe69c6c4baf96d74bbe40b16e
[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/21664
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