Closed (fixed)
Project:
Webform
Version:
6.x-3.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Dec 2010 at 18:20 UTC
Updated:
9 Mar 2011 at 22:21 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
quicksketchAny idea which update caused this problem?
Comment #2
vitvas commentedHere's the patch
Comment #3
Anonymous (not verified) commentedThe following error appeared when I updated from Webform 6.x-3.1 to 6.x-3.4. My webforms are no longer functioning after this update. This is a major bug which should be fixed as soon as possible. I'm going to apply the patch and hope this fixes the problem.
Comment #4
Anonymous (not verified) commentedI applied the patch, but it did not fix the problem. I'm still getting the error. This appears to be a separate issue, so I've posted a new bug report here:
http://drupal.org/node/1003400
Comment #5
quicksketchThanks for the patch vitvas. Rather than using addslashes(), the proper Drupal function is probably db_escape_string(). But in any case this is close enough I should be able to figure it out next time I'm working on Webform.
Comment #6
quicksketchI've committed this patch which uses the correct escaping function for MySQL queries.