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.
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
Comment #1
apadernoI am closing this issue, since Drupal 4.x, 5.x, and 6.x are now not supported.