Closed (fixed)
Project:
Commentsblock
Version:
7.x-2.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
25 Jan 2013 at 16:13 UTC
Updated:
9 Aug 2015 at 07:53 UTC
Hi,
There's a strict error in the main module file. drupal_render can only accept variables. I haven't got the time right now to pull in the git repo and create a patch. Just go to line 98 and change the following:
$block['content'] = drupal_render(comment_block_static_comments($node->nid, false, $node));
to
$static_comments = comment_block_static_comments($node->nid, false, $node);
$block['content'] = drupal_render($static_comments);
- Thomas
Comments
Comment #1
marcoka commentedthx i will fix this in the next release.
Comment #2
marcoka commented