Bei neu anlegen CVar Felder immer anzeigen
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 6 Oct 2009 12:46:27 +0000 (14:46 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 6 Oct 2009 12:46:27 +0000 (14:46 +0200)
zu Bug 1191.

SL/CVar.pm

index f4ca649..6b603d8 100644 (file)
@@ -244,6 +244,8 @@ sub get_custom_variables {
                      :                                $act_var->{text_value};
       $cvar->{valid} = $act_var->{valid};
     } else {
+      $cvar->{valid}  =  1;
+
       if ($cvar->{type} eq 'date') {
         if ($cvar->{default_value} eq 'NOW') {
           $cvar->{value} = $cvar->{current_date};