You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say we have a PHP variable like this: $test = '""'
Then we pass this variable to a fluid template and check for it like this:
<f:if condition="{test}">value: {test}</f:if>
Result: nothing is printed.
This is (at best) non-intuitive, I'd rather see it as a bug. If a string with length 2 and containing 2 printable characters is considered null/empty, then that seems wrong. Or am I missing something?
The text was updated successfully, but these errors were encountered:
Let's say we have a PHP variable like this:
$test = '""'
Then we pass this variable to a fluid template and check for it like this:
<f:if condition="{test}">value: {test}</f:if>
Result: nothing is printed.
This is (at best) non-intuitive, I'd rather see it as a bug. If a string with length 2 and containing 2 printable characters is considered null/empty, then that seems wrong. Or am I missing something?
The text was updated successfully, but these errors were encountered: