Double quotes are used for escaping column names and such. A query structured like

UPDATE {foo} SET bar = "baz";

will try to find a column named "baz" in Postgres (and many other db's).

The attached patch fixes two queries to use correct quoting, and thus work properly in Postgres

CommentFileSizeAuthor
flag_actions.module.patch1.49 KBstormsweeper

Comments

stormsweeper’s picture

To be clear, the issue exists in the 6.x-1.1 release, but the patch is against the 6.x-1.x dev branch.

quicksketch’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, I'll put this in next time I'm committing.

andypost’s picture

Subscribe, waiting for commit

quicksketch’s picture

Status: Reviewed & tested by the community » Fixed

Committed all versions of Flag.

Status: Fixed » Closed (fixed)

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