summaryrefslogtreecommitdiff
path: root/modules/upload
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-05-29 16:06:07 +0000
committerDries Buytaert <dries@buytaert.net>2007-05-29 16:06:07 +0000
commit8a4451e3ca9ecb68262e988984becc015f5db57c (patch)
tree0c20264c9b6811aa85277ddf474ffd1d7b20d12d /modules/upload
parent4d8f12f9c0568c450374307f16ac7128702b0034 (diff)
downloadbrdo-8a4451e3ca9ecb68262e988984becc015f5db57c.tar.gz
brdo-8a4451e3ca9ecb68262e988984becc015f5db57c.tar.bz2
- Patch #146470 by ax: fixed typo in Form API3 conversion.
Diffstat (limited to 'modules/upload')
-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 fb9b633cc..4e489d323 100644
--- a/modules/upload/upload.module
+++ b/modules/upload/upload.module
@@ -914,7 +914,7 @@ function upload_js() {
);
drupal_alter('form', $form, array(), 'upload_js');
$form_state = array('submitted' => FALSE);
- $form = form_builder('upload_js', $form, array());
+ $form = form_builder('upload_js', $form, $form_state);
$output = theme('status_messages') . drupal_render($form);
// We send the updated file attachments form.
print drupal_to_js(array('status' => TRUE, 'data' => $output));