summaryrefslogtreecommitdiff
path: root/modules/upload/upload.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/upload/upload.module')
-rw-r--r--modules/upload/upload.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module
index 50b249ede..2bc042497 100644
--- a/modules/upload/upload.module
+++ b/modules/upload/upload.module
@@ -244,7 +244,7 @@ function upload_form_alter($form_id, &$form) {
'#weight' => 30,
);
$form['attachments'] += _upload_form($node);
- $form['#attributes'] = array('enctype' => 'multipart/form-data');
+ $form['#attributes']['enctype'] = 'multipart/form-data';
}
}
}