From bdcf08c2f756bb644bfb4a9685f05a77cd41a9b0 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 27 Dec 2009 03:43:45 +0000 Subject: Roll-back of #654854: this causes tests to fail. --- modules/comment/comment.pages.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules') diff --git a/modules/comment/comment.pages.inc b/modules/comment/comment.pages.inc index f1c9ca6ae..345b9ceb7 100644 --- a/modules/comment/comment.pages.inc +++ b/modules/comment/comment.pages.inc @@ -72,6 +72,10 @@ function comment_reply($node, $pid = NULL) { drupal_goto("node/$node->nid"); } } + // This is the case where the comment is in response to a node. Display the node. + elseif (user_access('access content')) { + $build['comment_node'] = node_view($node); + } // Should we show the reply box? if ($node->comment != COMMENT_NODE_OPEN) { -- cgit v1.2.3