From: Joe Hunt Date: Tue, 27 Oct 2009 13:53:49 +0000 (+0000) Subject: Database error when updating item. X-Git-Tag: v2.4.2~19^2~1069 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=f4b8a8d9c3087513c0dc225e31ac895104ed10c5;p=fa-stable.git Database error when updating item. --- 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 != '')