]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Kunden-CVars-Speicherung gefixt
authorThomas Heck <theck@linet-services.de>
Tue, 25 Jun 2013 14:59:20 +0000 (16:59 +0200)
committerThomas Heck <theck@linet-services.de>
Tue, 16 Jul 2013 12:23:54 +0000 (14:23 +0200)
SL/DB/CustomVariable.pm

index dd68cab3ebef9de0e6b05a2075fdec5f9115e0f2..c90e03800b935487d079dc2c5c32aa71c9bb0394 100644 (file)
@@ -22,7 +22,7 @@ sub value {
   goto &timestamp_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 {