X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ac0c6a8692e05549cb2dc0a60e692f550fa72894..377ff40990680968fefeeb65b6e6935fcf9fcf35:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 44d857c86..95cd80e8e 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -653,7 +653,7 @@ sub format_amount { } my $neg = ($amount =~ s/-//); - if (defined($places)) { + if (defined($places) && ($places ne '')) { if ($places < 0) { $amount *= 1; $places *= -1;