Reply to thread

While updating an add-on for XF2.2, I discovered that a template macro's arguments can no longer access to $__globals variable where in XF2.0-XF.21 they could.


Is this an expected or intended change?


ie, this produces different outputs XF2.2 vs earlier;

[CODE="xml"]<xf:macro name="example"  arg-tmp="{{ array_keys($__globals) }}">

    {{ dump($tmp) }}

</xf:macro>[/CODE]


Back
Top Bottom