summaryrefslogtreecommitdiff
path: root/modules/file/file.field.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/file/file.field.inc')
-rw-r--r--modules/file/file.field.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/file/file.field.inc b/modules/file/file.field.inc
index 085bfdc8f..286e2e0b7 100644
--- a/modules/file/file.field.inc
+++ b/modules/file/file.field.inc
@@ -441,7 +441,6 @@ function file_field_widget_settings_form($field, $instance) {
* Implements hook_field_widget_form().
*/
function file_field_widget_form(&$form, &$form_state, $field, $instance, $langcode, $items, $delta, $element) {
- $form['#attributes'] = array('enctype' => 'multipart/form-data');
$defaults = array(
'fid' => 0,