From 5ecf9f6fb4c99fe064b0989b2b698a72c33dbf39 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Tue, 24 Jun 2008 23:18:45 +0000 Subject: [PATCH] Fixed bug when updating/saving Tax Group Items --- CHANGELOG.txt | 4 ++++ includes/ui/ui_lists.inc | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 041e28be..e73ce99f 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +25-Jun-2008 Joe Hunt +# Fixed bug when updating/saving Tax Group Items +$ /includes/ui/ui_lists.inc + 24-Jun-2008 Joe Hunt # Fixed inconsistencies in customer and supplier aging $ /sales/includes/db/customers_db.inc diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index 1176cc5f..300efd41 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -701,7 +701,7 @@ function stock_item_types_list_row($label, $name, $selected_id, $enabled=true) echo ""; if ($enabled) $sel = "\n"; if ($selected_id == null) @@ -758,7 +758,7 @@ function tax_types_list($name, $selected_id, $none_option=false, $submit_on_chan return combo_input($name, $selected_id, $sql, 'id', 'name', array( 'spec_option' => $none_option, - 'spec_id' => 0, + 'spec_id' => reserved_words::get_all_numeric(), 'select_submit'=> $submit_on_change, 'async' => false, ) ); -- 2.30.2