From 29c8e40e912f8975011224f824977b2353fe07b5 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 3 Feb 2009 18:55:32 +0000 Subject: - Patch #355236 by Frando: refactor drupal_render() theming. --- modules/upload/upload.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/upload') 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; } -- cgit v1.2.3