From 0ddbffd3121056b6cf10dbd715d72d10fffdf253 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sat, 14 Jun 2008 23:38:23 +0000 Subject: [PATCH] Bug in tax_types_list (spec_id) --- CHANGELOG.txt | 6 +++++- includes/ui/ui_lists.inc | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index bdaeb620..97b43e0b 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,7 +19,11 @@ Legend: ! -> Note $ -> Affected files -14-Jun-2008 Joe +15-Jun-2008 Joe Hunt +# Bug in tax_types_list (spec_id) +$ /includes/ui/ui_lists.inc + +14-Jun-2008 Joe Hunt # Minor annoying layout bug in stock movements. $ /inventory/inquiry/stock_movements.php diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index 454932cd..d0dd4776 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -757,7 +757,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' => $all_items, + 'spec_id' => 0, 'select_submit'=> $submit_on_change, 'async' => false, ) ); @@ -796,7 +796,7 @@ function tax_groups_list($name, $selected_id, array( 'order' => 'id', 'spec_option' => $none_option, - 'spec_id' => $all_items, + 'spec_id' => 0, 'select_submit'=> $submit_on_change, 'async' => false, ) ); -- 2.30.2