projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17bc3d2
)
0003921: Bug in Tax Groups fixed.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Thu, 29 Jun 2017 22:55:14 +0000
(
00:55
+0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Thu, 29 Jun 2017 22:55:14 +0000
(
00:55
+0200)
taxes/tax_groups.php
patch
|
blob
|
history
diff --git
a/taxes/tax_groups.php
b/taxes/tax_groups.php
index 540cdb77da5eb6101e05086d4dad43e0ad46dfc9..889db60e9b7928af11fb66b7efdf8fb146fb416b 100644
(file)
--- 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]);
}