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.
If when creating comments on heartbeat messages that create comments on the referenced nodes, you cannot then delete the comment via the heartbeat comment delete link.
The patch includes a very simple bug fix replacing line 905 in heartbeat_comments.module
return ($result->fetchField('uid') == $GLOBALS['user']->uid && user_access('delete own comments'));
with
return ($result->fetchField() == $GLOBALS['user']->uid && user_access('delete own comments'));
Comment | File | Size | Author |
---|---|---|---|
heatbeat-problem_deleting_comments-0-0.patch | 801 bytes | Adam Clarey |