array.append with merge with non array fails silently

Description

Lucee fails silently, ACF still appends the value

https://docs.lucee.org/reference/objects/array/append.html

Merge: This argument only applies when the value is an array.

If set to true appends array elements individually to the source array.

If false (default) the complete array is added as one element at the end, in the source array.

Lucee should either match the ACF behaviour or throw an exception

https://trycf.com/gist/1afad613dbc36a1ef0c06a51c3b59bbb/lucee5?theme=monokai

Assignee

Unassigned

Reporter

Zac Spitzer

Labels

Affects versions

Priority

New
Configure