Trying to concatenate an array element that hasn't been initialised. Should be a one-liner fix.

CommentFileSizeAuthor
#1 comment_block-1883884-1.patch506 bytesnicksanta

Comments

nicksanta’s picture

Status: Active » Needs review
StatusFileSize
new506 bytes

Patch against 7.x-1.0 attached

SolomonGifford’s picture

Issue summary: View changes

I think this would be better solved:

 if (!empty($block['content'])) {
            $block['content'] .= drupal_render(comment_block_static_comments($node->nid, FALSE, $node));
        }
        else {
            $block['content'] = drupal_render(comment_block_static_comments($node->nid, FALSE, $node));
        }
SolomonGifford’s picture

Status: Needs review » Closed (fixed)

Since the change I suggested is actually what we're running in production, I'm committing to master.