From 5eff8cd02d21a0d8b6be7d055df3910fdd86c3a9 Mon Sep 17 00:00:00 2001 From: Thomas Heck Date: Tue, 25 Jun 2013 16:59:20 +0200 Subject: [PATCH] Kunden-CVars-Speicherung gefixt --- SL/DB/CustomVariable.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1