Closed (fixed)
Project:
Spam
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Mar 2011 at 00:00 UTC
Updated:
24 Jun 2011 at 18:02 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| spam.module.patch | 814 bytes | Shiny |
Comments
Comment #1
AlexisWilke commentedAs 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
Comment #2
killes@www.drop.org commentedthis was indeed fixed.