Project

General

Profile

Actions

Bug #61965

closed

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

Added by most wanted over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
Category:
Fluid
Target version:
Start date:
2014-09-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions

Also available in: Atom PDF