Commit bdcf08c2 authored by webchick's avatar webchick
Browse files

Roll-back of #654854: this causes tests to fail.

parent 9ca87238
...@@ -72,6 +72,10 @@ function comment_reply($node, $pid = NULL) { ...@@ -72,6 +72,10 @@ function comment_reply($node, $pid = NULL) {
drupal_goto("node/$node->nid"); 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? // Should we show the reply box?
if ($node->comment != COMMENT_NODE_OPEN) { if ($node->comment != COMMENT_NODE_OPEN) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment