There's some SQL in this module trying to put a string into an integer column

warning: pg_query() [function.pg-query]: Query failed: ERROR: invalid input syntax for integer: "" in /home/brenda/workspace/drupal/drupalsites/moodleinschools/includes/database.pgsql.inc on line 139.
user warning: query: UPDATE spam_tracker SET score = 0, hostname = 1300924527, timestamp = 0 WHERE content_type = '17' AND content_id = '' in /home/brenda/workspace/drupal/drupalsites/moodleinschools/sites/all/modules/contrib/spam/spam.module on line 297.

Trivial patch attached.

CommentFileSizeAuthor
spam.module.patch814 bytesShiny
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

AlexisWilke’s picture

As far as I know this is fixed in the development version. If you would please check and report whether you have problems with the 1.x-dev version, it would be great.

Thank you.
Alexis Wilke

killes@www.drop.org’s picture

Status: Needs review » Fixed

this was indeed fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.