Skip to content
Snippets Groups Projects
Commit 15975b3d authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Allows for displaying nodes without the comment module being enabled.
  Patch by Ori.
parent ccba91d6
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -14,7 +14,7 @@ function node_render($node) { ...@@ -14,7 +14,7 @@ function node_render($node) {
node_view($node); node_view($node);
if ($node->comment) { if (function_exists("comment_render") && $node->comment) {
comment_render($id, $cid); comment_render($id, $cid);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment