Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am seeing following message on pages when comments are hidden
Notice: Undefined index: comments in node_comment_block_block_view() (line 35 of .../node_comment_block/node_comment_block.module)
Comment | File | Size | Author |
---|---|---|---|
#1 | node_comment_block-undefined-index-2127769-1.patch | 545 bytes | shahinam |
Comments
Comment #1
shahinam CreditAttribution: shahinam commentedPFA patch, it seems node->comment is a string and not int as expected.
Comment #2
opdaviesThis has been committed to 7.x-1.x-dev.
http://drupalcode.org/project/node_comment_block.git/commit/1517678.
Thanks. :)
Comment #3
opdavies