Loading src/Element/MediaLibrary.php +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ class MediaLibrary extends FormElement { $entity_ids = [$default_value['media_selection_id']]; } else { $entity_ids = array_filter(explode(',', $default_value)); $entity_ids = array_filter(explode(',', $default_value ?? '')); } if (!empty($entity_ids)) { Loading Loading
src/Element/MediaLibrary.php +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ class MediaLibrary extends FormElement { $entity_ids = [$default_value['media_selection_id']]; } else { $entity_ids = array_filter(explode(',', $default_value)); $entity_ids = array_filter(explode(',', $default_value ?? '')); } if (!empty($entity_ids)) { Loading