From f4b8a8d9c3087513c0dc225e31ac895104ed10c5 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Tue, 27 Oct 2009 13:53:49 +0000 Subject: [PATCH] Database error when updating item. --- CHANGELOG.txt | 2 ++ inventory/includes/db/items_db.inc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index c4f9cdb1..aa99151e 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -20,6 +20,8 @@ Legend: $ -> Affected files 27-Oct-2009 Joe Hunt +# Database error when updating item. +$ /inventory/includes/db/items_db.inc # Removed unneeded double forms in scripts with db_pager. Missing $_POST variables. $ /dimensions/inquiry/search_dimensions.php /manufacturing/search_work_orders.php diff --git a/inventory/includes/db/items_db.inc b/inventory/includes/db/items_db.inc index 9b382287..b0553726 100644 --- a/inventory/includes/db/items_db.inc +++ b/inventory/includes/db/items_db.inc @@ -24,7 +24,7 @@ function update_item($stock_id, $description, $long_description, $category_id, assembly_account=".db_escape($assembly_account).", dimension_id=".db_escape($dimension_id).", dimension2_id=".db_escape($dimension2_id).", - tax_type_id=".db_escape($tax_type_id)." + tax_type_id=".db_escape($tax_type_id).", no_sale=".db_escape($no_sale); if ($units != '') -- 2.30.2