Closed (fixed)
Project:
Webform
Version:
4.5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
3 Nov 2004 at 19:14 UTC
Updated:
14 Nov 2004 at 15:05 UTC
When submitting data from a created webform that contains an apostrophe this error message shows up in the browser window. "user error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'vices'),"
The email gets sent, however, the data does not get stored in the webform_submited_data table.
for example "I'm requesting this... " causes the error.
Comments
Comment #1
ullgren commentedI've now added calls to check_query before inserting data.
Also attaches patch for the previous 4.5 release, a patched version should published sometime tomorrow.
Comment #2
ullgren commentedClosing this issue. Since it's now fixed and in the distribution.