Hi, I've just found a small warning, very easy to fix.

Problem

The module throw the following warning :

Strict warning : Only variables should be passed by reference dans commentsblock_block_view() (line 98 in ../sites/all/modules/commentsblock/commentsblock.module).

Proposed resolution

At line 98 we should replace

$block['content'] = drupal_render(comment_block_static_comments($node->nid, false, $node));

by

$comments = comment_block_static_comments($node->nid, false, $node);
$block['content'] = drupal_render($comments);

Comments

alex.druhet’s picture

Status: Active » Needs review
StatusFileSize
new634 bytes

Here's a patch

plazik’s picture

Status: Needs review » Closed (duplicate)