X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FCsvImport%2FBase.pm;h=5aa6066b004761e8159392689e8993ee96f3e6ca;hb=8b7b7701eb646c89dae0e8aad8cfc2c5276f8ad6;hp=31d1d9ece696317d9f80aa61b305373523e24909;hpb=00b9499e32bdf89676f1933cbd4cab39502c3210;p=kivitendo-erp.git diff --git a/SL/Controller/CsvImport/Base.pm b/SL/Controller/CsvImport/Base.pm index 31d1d9ece..5aa6066b0 100644 --- a/SL/Controller/CsvImport/Base.pm +++ b/SL/Controller/CsvImport/Base.pm @@ -185,7 +185,7 @@ sub handle_cvars { my $value = $entry->{raw_data}->{ "cvar_" . $config->name }; my $column = $type_to_column{ $config->type } || die "Program logic error: unknown custom variable storage type"; - push @cvars, SL::DB::CustomVariable->new(config_id => $config->id, $column => $value); + push @cvars, SL::DB::CustomVariable->new(config_id => $config->id, $column => $value, sub_module => ''); } $entry->{object}->custom_variables(\@cvars);