updated core to 7.67
This commit is contained in:
@@ -599,7 +599,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'] = !empty($field['settings']['display_field']) ? 0 : 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user