summaryrefslogtreecommitdiff
path: root/node.php
diff options
context:
space:
mode:
Diffstat (limited to 'node.php')
-rw-r--r--node.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.php b/node.php
index d00da60cc..c80113e55 100644
--- a/node.php
+++ b/node.php
@@ -14,7 +14,7 @@ function node_render($node) {
node_view($node);
- if ($node->comment) {
+ if (function_exists("comment_render") && $node->comment) {
comment_render($id, $cid);
}