Bug #27607
Make Fluid comparisons work when first element is STRING, second is NULL.
Status:
New
Priority:
Must have
Assignee:
-
Category:
Core
Target version:
-
Start date:
2011-06-21
Due date:
% Done:
0%
Estimated time:
Has patch:
No
Description
Taken from https://review.typo3.org/#patch,unified,2824,2,Classes/Core/Parser/SyntaxTree/ViewHelperNode.php :
I know it is not in the table on php.net, but the case '' == NULL ($operand1 being string and $operand2 being NULL) should probably be comparable, too (and the PHP interpreter can of course compare them). What do you think?
I definitely agree, so we should implement this in Fluid v5 and provide tests for it, and then backport it.
Updated by Christian Müller almost 9 years ago
This is basically a duplicate of #26665, right? Then one of them should maybe be closed?