solutiondrop
7/7/2014 - 11:34 PM

From https://www.drupal.org/files/issues/drupal-1430934-23-do-not-test.patch

diff --git a/modules/file/file.field.inc b/modules/file/file.field.inc
index d540c0a..26cbbd8 100644
--- a/modules/file/file.field.inc
+++ b/modules/file/file.field.inc
@@ -592,7 +592,7 @@ function file_field_widget_value($element, $input = FALSE, $form_state) {
     // If the display field is present make sure its unchecked value is saved.
     $field = field_widget_field($element, $form_state);
     if (empty($input['display'])) {
-      $input['display'] = $field['settings']['display_field'] ? 0 : 1;
+      $input['display'] = intval(empty($field['settings']['display_field']));
     }
   }