summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/comment/comment.pages.inc4
1 files changed, 4 insertions, 0 deletions
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) {