diff --git a/core/modules/file/file.field.inc b/core/modules/file/file.field.inc index b331e4b..d29f434 100644 --- a/core/modules/file/file.field.inc +++ b/core/modules/file/file.field.inc @@ -248,6 +248,11 @@ function file_field_update($entity_type, $entity, $field, $instance, $langcode, $current_fids[] = $item['fid']; } + // Load the original entity, if $entity->original is not already set. + if (empty($entity->original)) { + $entity->original = entity_load_unchanged($entity_type, $id); + } + // Compare the original field values with the ones that are being saved. $original = $entity->original; $original_fids = array();