summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-20 04:32:13 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-20 04:32:13 +0000
commitb847b3a364c53bfa9488ce1de196e46a8a2f0af7 (patch)
tree734f42636831856effadb536a104291f814aabf3
parentee00a747d4c7ccccb0dce54100abb12997d334fc (diff)
Applied fix to Form.pm's format_amount to handle double formating
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@240 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/Form.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index 7508fd83..d0804781 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -407,7 +407,7 @@ sub format_amount {
if ($myconfig->{numberformat}) {
$amount =~ s/-//;
- $self->parse_amount($amount);
+ $self->parse_amount($amount, $myconfig);
my ($whole, $dec) = split /\./, "$amount";
$amount = join '', reverse split //, $whole;