- Issue created by @jeffreysmattson
- Merge request !101Type string for test parameter, check if value is an array. β (Open) created by jeffreysmattson
- π¬π§United Kingdom joachim
If a custom field type is putting an array into $field_data['value'], then presumably it's using the 'map' data type for that property?
I don't think we should be handling an array like that -- rather this code should be stricter about detecting rich text fields:
> if (isset($value['format']) && isset($value['value'])) {
- πΊπΈUnited States jeffreysmattson
I am not sure what you are saying, but I took a closer look at the custom field I was working with here and the value of this field is a serialized array (string). I am not sure how it ends up an array at this point in the code. I will investigate further and get back to you. I do know that this patch fixes my issue. Important to know that the field in question here is a custom field.