diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-09-22 23:06:22 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-09-22 23:06:22 +0000 |
commit | 92c481c8e931fba217427e4523c805f5180a7552 (patch) | |
tree | c77fe133f0fb1943a08e1f3d20846d2ae3c9a9c7 | |
parent | c0aec66b8743f233e86d62a6c02339983e24ecb6 (diff) |
Correcting scoping issue which causes problems in Perl 5.10.0
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@2334 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-x | LedgerSMB/OE.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/OE.pm b/LedgerSMB/OE.pm index 2a29c5d0..a4964148 100755 --- a/LedgerSMB/OE.pm +++ b/LedgerSMB/OE.pm @@ -1317,7 +1317,7 @@ sub order_details { $taxamount = Tax::calculate_taxes( \@taxaccounts, $form, $linetotal, 1 ); $taxbase = Tax::extract_taxes( \@taxaccounts, $form, $linetotal ); - foreach $item (@taxaccounts) { + foreach my $item (@taxaccounts) { push @taxrates, Math::BigFloat->new(100) * $item->rate; if ( $form->{taxincluded} ) { $taxaccounts{ $item->account } += $item->value; |