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'));

Support from Acquia helps fund testing for Drupal Acquia logo