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.