When using the admin "Moderator actions" to bulk delete comments, the module makes an incorrect call to update the node_comment_statistics table. In antispam.module, line 1727:

_comment_update_node_statistics($comment->cid);

Should actually be a node id according to the API:

_comment_update_node_statistics($comment->nid);

Because the module wasn't passing the correct node id, the comment count value is not being updated on node objects. Can someone write a patch for this one-line change?

Comments

apaderno’s picture

Version: 6.x-1.3 » 6.x-1.x-dev
Issue summary: View changes
Status: Active » Closed (outdated)

I am closing this issue, since Drupal 4.x, 5.x, and 6.x are now not supported.