X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/0347cf10772dfc42e8cffb0b593b7a7780b00043..e3aa3f5b7ea363bf7ec8e547c583b3b4a0758492:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index d130272dd..141233d94 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -931,6 +931,11 @@ sub parse_amount { my ($self, $myconfig, $amount) = @_; + if (!defined($amount) || ($amount eq '')) { + $main::lxdebug->leave_sub(2); + return 0; + } + if ( ($myconfig->{numberformat} eq '1.000,00') || ($myconfig->{numberformat} eq '1000,00')) { $amount =~ s/\.//g;