[0000691] Error updating BOM
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 28 Mar 2011 07:25:55 +0000 (09:25 +0200)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 28 Mar 2011 07:25:55 +0000 (09:25 +0200)
includes/db/manufacturing_db.inc

index 9378f645219edbab59dc6aeb24b4778a60a853ce..637ef4b9e25a558b80bca1fa4f4000e15613013a 100644 (file)
@@ -205,7 +205,7 @@ function add_bom($selected_parent, $component, $workcentre_added, $loc_code, $qu
 }
 //--------------------------------------------------------------------------------------
 
-function update_bom($selected_parent, $selected_component, $work_centre_added, $loc_code, $quantity)
+function update_bom($selected_parent, $selected_component, $workcentre_added, $loc_code, $quantity)
 {
        $sql = "UPDATE ".TB_PREF."bom SET workcentre_added=".db_escape($workcentre_added)
         . ",loc_code=".db_escape($loc_code) . ",