Index: recipe.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/recipe/recipe.module,v
retrieving revision 1.72.2.8
diff -u -r1.72.2.8 recipe.module
--- recipe.module	17 Oct 2007 17:39:34 -0000	1.72.2.8
+++ recipe.module	1 Apr 2008 18:06:08 -0000
@@ -574,7 +574,7 @@
       global $active_db;
       $node_link = db_result(db_query("SELECT nid FROM {node} WHERE title = '%s'", $name));
 			
-      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);
       $ingredient_id = db_result(db_query("SELECT id FROM {recipe_ingredient} WHERE LOWER(name)='%s'", trim(strtolower($name))));
     }
     $cache[$name] = $ingredient_id;
