summaryrefslogtreecommitdiff
path: root/modules/upload
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-02-03 18:55:32 +0000
committerDries Buytaert <dries@buytaert.net>2009-02-03 18:55:32 +0000
commit29c8e40e912f8975011224f824977b2353fe07b5 (patch)
treebb6a3341259232340b88ca120cf349c57404c13b /modules/upload
parent607e9626d5af265b18e8319b156bb0fda3445cd4 (diff)
downloadbrdo-29c8e40e912f8975011224f824977b2353fe07b5.tar.gz
brdo-29c8e40e912f8975011224f824977b2353fe07b5.tar.bz2
- Patch #355236 by Frando: refactor drupal_render() theming.
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;
}