Closed (duplicate)
Project:
AntiSpam
Version:
7.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2012 at 19:29 UTC
Updated:
27 Jul 2017 at 06:23 UTC
Jump to comment: Most recent
When calling the method antispam_api_cmd_spam_check(), a "content" array is created any passed to the method antispam_api_cmd_comment_check(). However, antispam_api_cmd_comment_check() expects and object, not an array.
The following patch first casts the array as an object before passing it to antispam_api_cmd_comment_check().
Cheers,
Chris
| Comment | File | Size | Author |
|---|---|---|---|
| antispam_api_cmd_spam_check_fix.patch | 508 bytes | Chris Maissan |
Comments
Comment #1
cfinke commentedDuplicate of #2108131.