How can I set an array ($threads) with xen:set

Marcus

Well-known member
I have an existing array $newThreads and want to push it to an included template:

PHP:
        <xen:include template="addon_template" >
            <xen:set var="$threads">{$newThreads}</xen:set>
        </xen:include>

In the addon_template {xen:helper dump, $threads} returns
PHP:
string(0) ""
 
Back
Top Bottom