summaryrefslogtreecommitdiff
path: root/LedgerSMB/IR.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/IR.pm')
-rwxr-xr-xLedgerSMB/IR.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/LedgerSMB/IR.pm b/LedgerSMB/IR.pm
index a1e0a8d9..6effad33 100755
--- a/LedgerSMB/IR.pm
+++ b/LedgerSMB/IR.pm
@@ -218,7 +218,8 @@ sub post_invoice {
$fxdiff += $amount - $linetotal;
@taxaccounts = Tax::init_taxes(
- $form, $form->{"taxaccounts_$i"});
+ $form, $form->{"taxaccounts_$i"},
+ $form->{'taxaccounts'});
$tax = Math::BigFloat->bzero();
$fxtax = Math::BigFloat->bzero();