summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/Form.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index a0a3fb19..94a96dc0 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -494,11 +494,6 @@ sub parse_amount {
return $amount;
}
my $numberformat = $myconfig->{numberformat};
- my $decimal_regex = /\.\d+$/;
- if (($numberformat !~ $decimal_regex) and ($amount =~ $decimal_regex)){
- # We have already parsed this number
- $numberformat = "1000.00";
- }
if (($numberformat eq '1.000,00') ||
($numberformat eq '1000,00')) {