X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/e03993be556024f24e5a4940fa08078ee8cd3840..5eff8cd02d21a0d8b6be7d055df3910fdd86c3a9:/SL/DB/CustomVariable.pm diff --git a/SL/DB/CustomVariable.pm b/SL/DB/CustomVariable.pm index dd68cab3e..c90e03800 100644 --- a/SL/DB/CustomVariable.pm +++ b/SL/DB/CustomVariable.pm @@ -22,7 +22,7 @@ sub value { goto ×tamp_value if $type eq 'timestamp'; goto &number_value if $type eq 'number'; if ( $type eq 'customer' ) { - if ( defined($_[1]) ) { + if ( defined($_[1]) && $_[1] ) { goto &number_value; } else {