summaryrefslogtreecommitdiff
path: root/modules/upload
diff options
context:
space:
mode:
Diffstat (limited to 'modules/upload')
-rw-r--r--modules/upload/upload.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module
index 0971c978b..d61433aac 100644
--- a/modules/upload/upload.module
+++ b/modules/upload/upload.module
@@ -621,7 +621,7 @@ function theme_upload_form_current($form) {
$rows[] = array('data' => $row, 'class' => 'draggable');
}
$output = theme('table', $header, $rows, array('id' => 'upload-attachments'));
- $output .= drupal_render($form);
+ $output .= drupal_render_children($form);
return $output;
}
@@ -633,7 +633,7 @@ function theme_upload_form_current($form) {
*/
function theme_upload_form_new($form) {
drupal_add_tabledrag('upload-attachments', 'order', 'sibling', 'upload-weight');
- $output = drupal_render($form);
+ $output = drupal_render_children($form);
return $output;
}