change:
line: 38 if ($node->nid) {
to
line: 38 if ($node->nid && variable_get("comment_$node->type", COMMENT_NODE_DISABLED)) {

CommentFileSizeAuthor
#1 commentrss.module.2.diff773 bytestangent

Comments

tangent’s picture

Version: master » 5.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new773 bytes

Here's a patch.

tangent’s picture

Status: Needs review » Fixed

Committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)