[BUGFIX] Wrong result on unequal globalVar condition 63/21663/3
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:23:53 +0000 (16:23 +0200)
commitfea7b50e7b8908b1e541aa149e94af910b0ccd68
tree57122db6e6c41a77f46b49fc39c712d1b3bc2689
parent26c1b4066551d958731b29ccbbaa3491b0dabedd
[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/21663
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