Various templater array_* functions do not work with AbstractCollection

Status
This content is read-only, or is not open for further replies.

Xon

Guest
offline
I'm not sure if this is a bug or not, but in templates it can be hit or miss on if something is an array or an AbstractionCollection. It would be nice if the templater functions would smooth over the difference in the various array_* functions (both new and old).

Adding $array instance of AbstractCollection ? $array->toArray() : $array is much easier on the php side then reliably doing that in templates

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom