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);
| Comment | File | Size | Author |
|---|---|---|---|
| recipe.module.patch | 638 bytes | robin t |
Comments
Comment #1
scottprive commentedwill review and fix..
Comment #2
scottprive commentedfixed 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.