diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-01-27 00:22:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-01-27 00:22:27 +0000 |
commit | 2e8ca690ff471b1d6604226e8153f401b1827204 (patch) | |
tree | 546f818191f809271154f26464961e3425dbc72c /modules/comment/comment.module | |
parent | ba5609c11a88f8ab8f42520c3f39eafb69dd463e (diff) | |
download | brdo-2e8ca690ff471b1d6604226e8153f401b1827204.tar.gz brdo-2e8ca690ff471b1d6604226e8153f401b1827204.tar.bz2 |
- Patch #351235 by dmitrig01, webchick, frando, moshe weitzman, et al: hook_page_alter. Oh, behave.
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 b1e48ed3a..a92b96a45 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1649,7 +1649,7 @@ function comment_form_add_preview($form, &$form_state) { } else { $suffix = empty($form['#suffix']) ? '' : $form['#suffix']; - $form['#suffix'] = $suffix . node_view($node); + $form['#suffix'] = $suffix . drupal_render(node_build($node)); $edit['pid'] = 0; } |