From: Thomas Heck Date: Tue, 25 Jun 2013 14:59:20 +0000 (+0200) Subject: Kunden-CVars-Speicherung gefixt X-Git-Tag: release-3.1.0beta1~161^2~31 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=5eff8cd02d21a0d8b6be7d055df3910fdd86c3a9;p=kivitendo-erp.git Kunden-CVars-Speicherung gefixt --- 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 {