diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-05-12 08:37:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-05-12 08:37:45 +0000 |
commit | 847304a2934b062544e87160ec8524e9275e8247 (patch) | |
tree | 9dfd13d0402d9a109694e9a4e4ad931201da0ec1 /modules/comment/comment.module | |
parent | da87545c487eb2e46dbc6c7b9e054b2e5be4a5b0 (diff) | |
download | brdo-847304a2934b062544e87160ec8524e9275e8247.tar.gz brdo-847304a2934b062544e87160ec8524e9275e8247.tar.bz2 |
- Patch #353069 by Moshe Weitzman, dmitrig01: make drupal_get_form() return unrendered forms.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 2 |
1 files changed, 1 insertions, 1 deletions
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 = '<h2 class="title">' . $title . '</h2><div>' . $content . '</div>'; return $output; } |