summaryrefslogtreecommitdiff
path: root/modules/comment/comment.pages.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-01-27 00:22:27 +0000
committerDries Buytaert <dries@buytaert.net>2009-01-27 00:22:27 +0000
commit2e8ca690ff471b1d6604226e8153f401b1827204 (patch)
tree546f818191f809271154f26464961e3425dbc72c /modules/comment/comment.pages.inc
parentba5609c11a88f8ab8f42520c3f39eafb69dd463e (diff)
downloadbrdo-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.pages.inc')
-rw-r--r--modules/comment/comment.pages.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.pages.inc b/modules/comment/comment.pages.inc
index a4c94e22a..12d30cec8 100644
--- a/modules/comment/comment.pages.inc
+++ b/modules/comment/comment.pages.inc
@@ -92,7 +92,7 @@ function comment_reply($node, $pid = NULL) {
}
// This is the case where the comment is in response to a node. Display the node.
elseif (user_access('access content')) {
- $output .= node_view($node);
+ $output .= drupal_render(node_build($node));
}
// Should we show the reply box?