diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-27 03:43:45 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-27 03:43:45 +0000 |
commit | bdcf08c2f756bb644bfb4a9685f05a77cd41a9b0 (patch) | |
tree | 501d4c6a9a402c35acb9d67801e09c22e20e8a94 /modules/comment/comment.pages.inc | |
parent | 9ca8723880c7d8e2bb7caf825678d44dcbe933eb (diff) | |
download | brdo-bdcf08c2f756bb644bfb4a9685f05a77cd41a9b0.tar.gz brdo-bdcf08c2f756bb644bfb4a9685f05a77cd41a9b0.tar.bz2 |
Roll-back of #654854: this causes tests to fail.
Diffstat (limited to 'modules/comment/comment.pages.inc')
-rw-r--r-- | modules/comment/comment.pages.inc | 4 |
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) { |