- Allows for displaying nodes without the comment module being enabled.

Patch by Ori.
4.1.x
Dries Buytaert 2002-06-22 19:32:08 +00:00
parent ccba91d66f
commit 15975b3d03
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}