cms icon indicating copy to clipboard operation
cms copied to clipboard

Updates $onAssetElementList check to handle arrays

Open brianjhanson opened this issue 3 years ago • 0 comments

Description

I'm not sure exactly why but in the apply function, $value can sometimes be an array. My best guess is that when an asset field is used twice, the second time it comes through as an array instead of a collection.

Related issues

Fixes #11982

brianjhanson avatar Sep 21 '22 18:09 brianjhanson