[#5272] custom SQL driver bug (keep local copy value)
Summary custom SQL driver bug (keep local copy value)
Queue Forwards
Queue Version 3.0.1
Type Bug
State Resolved
Priority 3. High
Owners
Requester czigola (at) gmail (dot) com
Created 04/20/2007 (387 days ago)
Due 02/28/2007 (438 days ago)
Updated 04/20/2007 (387 days ago)
Assigned
Resolved 04/20/2007 (387 days ago)
Attachments
Milestone
Patch

History
04/20/2007 Chuck Hagenbuch Comment #2
State ⇒ Resolved
Due ⇒ 02/28/2007
Reply to this comment
Good catch - fixed in CVS now, thanks.
04/20/2007 czigola (at) gmail (dot) com Comment #1
Queue ⇒ Forwards
Summary ⇒ custom SQL driver bug (keep local copy value)
Type ⇒ Bug
Due ⇒ 03/31/2007
Priority ⇒ 3. High
State ⇒ Unconfirmed
Reply to this comment
The sork forwards module configuration says "to keep a local copy of forwarded addresses will be a "Y" or "N" value provided as \L."

This is correct, and the module later depends on this domain of values. However forwards/lib/Driver/customsql.php on line 77 sets the value to either 'Yes' or 'No'.

I suggest to change the file mentioned at line 77 to:

$keeplocal = ($keeplocal == 'on') ? 'Y' : 'N';