I got some errors on crss/nodetype/[type] when using tac_lite http://drupal.org/project/tac_lite. Here are the changes that fixed it for me.

I changed this:

db_rewrite_sql("SELECT nid FROM {node} ...

to this:

db_rewrite_sql("SELECT n.nid FROM {node} n ...

The variabel typename was never set so I added:

$typename = node_get_name($type);
CommentFileSizeAuthor
commentrss-1.patch1.32 KBfrjo

Comments

gábor hojtsy’s picture

Status: Needs review » Fixed

Patch committed into HEAD and 4.7, thanks for the fix.

Anonymous’s picture

Status: Fixed » Closed (fixed)