diff --git a/core/modules/image/image.field.inc b/core/modules/image/image.field.inc index d3f9b2dc200c28770fe914c7ac639f5bba15a124..07dc9e390c6eab480a6c5b4f9315237821c8793f 100644 --- a/core/modules/image/image.field.inc +++ b/core/modules/image/image.field.inc @@ -203,11 +203,11 @@ function image_field_prepare_view($entity_type, $entities, $field, $instances, $ if (empty($items[$id])) { $fid = 0; // Use the default for the instance if one is available. - if ($instances[$id]['settings']['default_image']) { + if (!empty($instances[$id]['settings']['default_image'])) { $fid = $instances[$id]['settings']['default_image']; } // Otherwise, use the default for the field. - elseif ($field['settings']['default_image']) { + elseif (!empty($field['settings']['default_image'])) { $fid = $field['settings']['default_image']; }