X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=taxes%2Ftax_groups.php;h=889db60e9b7928af11fb66b7efdf8fb146fb416b;hb=5c2b576cebcb6bf59a23d4f49b7362003f8d1bf1;hp=4e138991efbca8f4bed509f0e1a442a93b08e58a;hpb=90b3d069d96b99671af51726e2953352738abb75;p=fa-stable.git diff --git a/taxes/tax_groups.php b/taxes/tax_groups.php index 4e138991..889db60e 100644 --- a/taxes/tax_groups.php +++ b/taxes/tax_groups.php @@ -49,8 +49,11 @@ if ($Mode=='ADD_ITEM' || $Mode=='UPDATE_ITEM') while (($id = find_submit('tax_type_id'))!=-1) { - $taxes[] = $id; - $tax_shippings[] = check_value('tax_shipping'.$id); + if (check_value('tax_type_id'.$id) != 0) + { + $taxes[] = $id; + $tax_shippings[] = check_value('tax_shipping'.$id); + } unset($_POST['tax_type_id' . $id]); unset($_POST['tax_shipping' . $id]); } @@ -207,4 +210,3 @@ end_form(); end_page(); -?>