From 847304a2934b062544e87160ec8524e9275e8247 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 12 May 2009 08:37:45 +0000 Subject: - Patch #353069 by Moshe Weitzman, dmitrig01: make drupal_get_form() return unrendered forms. --- modules/comment/comment.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 0a59cde46..a471b65f1 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1626,7 +1626,7 @@ function comment_form(&$form_state, $edit, $title = NULL) { * A string containing the box output. */ function theme_comment_form_box($edit, $title = NULL) { - $content = drupal_get_form('comment_form', $edit, $title); + $content = drupal_render(drupal_get_form('comment_form', $edit, $title)); $output = '

' . $title . '

' . $content . '
'; return $output; } -- cgit v1.2.3