When adding new components to a form I'll get strange errors. The reason is simple: webform_components.inc uses normal quotes and not single quotes and so fails our postgresql db. I've attached a patch which fixes this.

Comments

quicksketch’s picture

Status: Needs review » Fixed
StatusFileSize
new2.44 KB

Thanks, I need to remember to look out for those silly double quotes. Strangely I fixed the problem in the 2.x branch for Drupal 5 but this must've slipped under the radar. I applied the attached patch instead to match the Drupal 5 version, which uses double quotes on the outside and single quotes on the inside to avoid having to escape all the quotes manually.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.