Module fails in recipe creation because of bad SQL (link is integer):

- db_query("INSERT INTO {recipe_ingredient} (name, link) VALUES ('%s', '%s')", $name, $node_link);
+ db_query("INSERT INTO {recipe_ingredient} (name, link) VALUES ('%s', %d)", $name, $node_link);

CommentFileSizeAuthor
recipe.module.patch638 bytesrobin t

Comments

scottprive’s picture

Assigned: robin t » scottprive

will review and fix..

scottprive’s picture

Version: 5.x-1.x-dev » master
Assigned: scottprive » Unassigned
Status: Reviewed & tested by the community » Fixed

fixed in CVS head, please verify if possible

----------------------------
revision 1.90
date: 2010-01-30 09:47:07 -0500; author: tzoscott; state: Exp; lines: +3 -3; commitid: Ug6dAa7QwyPgmolu;
#206607 by robin t: Fixed SQL error w/postgres; insert of int is now %d. Fixed nearby commen typo.

Status: Fixed » Closed (fixed)

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