happyninjas/lex — Issue #7: {{ if array }} gives "Message: Array to string conversion"
Author: philsturgeon
Created: 2011-11-23 09:28:06+00:00
State: open

Can we get arrays being (bool)ed so we can use them in callbacks?

{{ navigation:links group="header" class="current_page_item" }}

{{title}}
{{ if children }}

{{ children }}

{{title}}

{{ /children }}

{{ endif }}

{{ /navigation:links }}

This errors, but should of course work :)

http://www.pyrocms.com/forums/topics/view/7890