Closed (outdated)
Project:
AntiSpam
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2011 at 05:54 UTC
Updated:
23 Nov 2022 at 13:53 UTC
Jump to comment: Most recent
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
avpadernoI am closing this issue, since Drupal 4.x, 5.x, and 6.x are now not supported.