From 15975b3d034e83886bbd8ac2fd6fb03ef17436d0 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 22 Jun 2002 19:32:08 +0000 Subject: [PATCH] - Allows for displaying nodes without the comment module being enabled. Patch by Ori. --- node.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.php b/node.php index d00da60cc14..c80113e55f6 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); }