[+BUGFIX] Fluid (Core): Boolean expressions can now contain negative numbers. Resolve...
authorSebastian Kurfürst <sebastian@typo3.org>
Thu, 26 Aug 2010 08:13:05 +0000 (08:13 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Thu, 26 Aug 2010 08:13:05 +0000 (08:13 +0000)
commit1285d502c9919114c7dbcb66f8dba5773d7c4aed
tree31686b32705f8964f39e6400d281e94e0eb2b6c4
parentcfea0a2cc46ff1697c0c962042db21cb2c0db36d
[+BUGFIX] Fluid (Core): Boolean expressions can now contain negative numbers. Resolves #9434.

Boolean expressions with negative numbers did not work so far.
Now, they work as expected. Example from Viewhelpertest which displayed
a wrong result before, and now displays the correct result:

<f:if condition="{testVariables.number.minusOne} < -1.1">
<f:then>Then part!</f:then>
<f:else>Else part!</f:else>
</f:if>

Issue: #9434
typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/ViewHelperNode.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/SyntaxTree/ViewHelperNodeComparatorTest.php