Spambot works perfectly, but when I try to report a spammer to stopforumspam.com - having configured the proper API KEY - I receive this message:
Notice: Undefined index: cids in spambot_user_spam_admin_form() (line 145 of .../sites/all/modules/spambot/spambot.pages.inc).
Then I'm unable to notify. I had to remove the KEY from the set-up page.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | spambot_undefined_cids_2563143_4_7.patch | 868 bytes | sumthief |
Comments
Comment #2
francoud commentedComment #3
francoud commentedComment #4
sumthief commentedHere is a patch which removes this notice.
Comment #5
kala4ekApplied with small changes.
Comment #7
kala4ekComment #9
francoud commentedThanks, it worked!
But now, when I take some action against a spammer (reporting a node) I received this:
Notice: Undefined property: stdClass::$body in _spambot_user_spam_admin_form_submit_action() (line 364 of [...]/sites/all/modules/spambot/spambot.pages.inc).
This is because I tried to report a node; but this node is a special content where there's no "body" defined. I guess that this line in spambot.pages.inc:
should be modified to check if a $node->body exists, before reporting it?
Comment #10
francoud commentedI tried adding this trick before the line 364:
for me it works...