summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLedgerSMB/IS.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/IS.pm b/LedgerSMB/IS.pm
index 9946b891..7c873e9e 100755
--- a/LedgerSMB/IS.pm
+++ b/LedgerSMB/IS.pm
@@ -905,7 +905,6 @@ sub post_invoice {
my $i;
my $item;
- my $allocated = 0;
my $taxrate;
my $tax;
my $fxtax;
@@ -925,6 +924,7 @@ sub post_invoice {
}
foreach $i ( 1 .. $form->{rowcount} ) {
+ my $allocated = 0;
$form->{"qty_$i"} = $form->parse_amount( $myconfig, $form->{"qty_$i"} );
if ( $form->{"qty_$i"} ) {