Closed (fixed)
Project:
Spam
Component:
Custom Filters
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
11 Feb 2005 at 06:41 UTC
Updated:
25 Feb 2005 at 13:15 UTC
Noticed an error in the most recent spam module download (2/9) when trying to input new custom filter. Tracked it to small error in line 680, function spam_admin_custom_add():
db_query("INSERT INTO {spam_custom} (filter, regex, effect, autodelete) VALUES('%s', %d, %d)", $edit['filter'], $edit['regex'], $edit['effect'], $edit['autodelete']);
VALUES needs another %d
Comments
Comment #1
jeremy commentedThanks! Fixed in CVS and 4.5.
Comment #2
(not verified) commented