diff --git a/core/modules/image/image.module b/core/modules/image/image.module index 4f7f61e..ae6052d 100644 --- a/core/modules/image/image.module +++ b/core/modules/image/image.module @@ -1045,7 +1045,7 @@ function image_entity_presave(Drupal\Core\Entity\EntityInterface $entity, $type) if ($type == 'field_entity') { $field = $entity; } - if ($field && $field->type == 'image') { + if ($field && $field->type == 'image' && is_array($entity->settings['default_image'])) { if (!empty($entity->settings['default_image'][0])) { $entity->settings['default_image'] = $entity->settings['default_image'][0]; }