Issue Bug Rejected

#61965f:if viewhelper always returns <f:else> element content if no <f:then> element is specified

most wanted 09/30/14, 11:02 updated 10/16/14, 21:10

Description

This will incorrectly return “Foo” in TYPO3 CMS 4.5.

<f:if condition="1">
    <f:else>
        Foo
    </f:else>
</f:if>

Tested with TYPO3 CMS 4.5.34 and 4.5.37-dev.

TYPO3 CMS 6.2 will correctly return nothing here.

Reviews 1