Bug in tax_types_list (spec_id)
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 14 Jun 2008 23:38:23 +0000 (23:38 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 14 Jun 2008 23:38:23 +0000 (23:38 +0000)
CHANGELOG.txt
includes/ui/ui_lists.inc

index bdaeb620f5491b4527f9f5f858214040b45362e0..97b43e0b08da645276c2e61c2c8d1503763f7a69 100644 (file)
@@ -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
 
index 454932cd32898ed7fed7963574aa622482a74856..d0dd4776b162993e2aa89ee140c627e05ac57fcd 100644 (file)
@@ -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,
        ) );