diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-03-14 20:13:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-03-14 20:13:27 +0000 |
commit | b46e90ad366c57095183891de56894d6a449bc14 (patch) | |
tree | ef143eea19b24d749d790b95c82658c02fb444e4 /modules/upload | |
parent | c85fa2b0e17d59b826c8ed51cd888fe8adae249a (diff) | |
download | brdo-b46e90ad366c57095183891de56894d6a449bc14.tar.gz brdo-b46e90ad366c57095183891de56894d6a449bc14.tar.bz2 |
- Patch #322344 by merlinofchaos, Frando, catch, sun: form improvements from Views.
Diffstat (limited to 'modules/upload')
-rw-r--r-- | modules/upload/upload.module | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module index e670c8413..27cff6cd8 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -689,13 +689,11 @@ function upload_js() { // Render the form for output. $form += array( - '#post' => $_POST, - '#programmed' => FALSE, '#tree' => FALSE, '#parents' => array(), ); drupal_alter('form', $form, array(), 'upload_js'); - $form_state = array('submitted' => FALSE); + $form_state = array('submitted' => FALSE, 'programmed' => FALSE); $form = form_builder('upload_js', $form, $form_state); $output = theme('status_messages') . drupal_render($form); |