#81532Non-zero value evaluates to FALSE in condition of <f:if> viewhelper
Description
Testing for a non-zero value in Fluid 8.7.0 doesn’t evaluate as TRUE as it used to in 6.2.0:
<f:if condition="-1">
TEST
</f:if>
This doesn’t print TEST. It seems that only positive non-zero values will test TRUE. This is not consistent with earlier implementations and can thus break existing templates.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.