[TYPO3-mvc] Fluid condition

Claus Due claus at wildside.dk
Sun Feb 5 21:19:51 CET 2012

Hi guys,

> If it always generates the empty, isn't it empty?
> Returned as object or as array?

An f:if with an empty array, QueryResult or ObjectStorage as "condition" argument value always returns FALSE. If it does not, then I would suspect that a template variable has been overwritten or otherwise set to have an unexpected value.

Perhaps debug the template variable where the unexpected behavior occurs - <f:debug>{object}</f:debug>.


More information about the TYPO3-project-typo3v4mvc mailing list