All comments seem to be blocked, hence I marked this issue "critical" for this module

Each time a comment is blocked, the user sees the message:

"Call to Blogspam checker blocked comment with message: OK:"

I looked at the source code and logs and I realised that the $check variable includes a colon (":") after the OK

So I changed this code in blogspam.module:

elseif ($check != "OK") {

to

elseif (!($check == "OK" || $check == "OK:")) {

and that fixed the problem for me.

I haven't looked any closer to see where the colon comes from, I'm not sure if it is coming from a fault in the PHP or from the remote web service.

Comments

kennyacock’s picture

Issue summary: View changes

The change you provided removed this error for me as well.

Thank you.