CsvImport: doppeltes delete-Statement entfernt
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 17 Feb 2017 16:01:21 +0000 (17:01 +0100)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 3 Mar 2017 20:57:10 +0000 (21:57 +0100)
SL/Controller/CsvImport.pm

index 6b09042..13ec1f5 100644 (file)
@@ -462,7 +462,6 @@ sub profile_from_form {
     $::form->{settings}->{max_amount_diff} = $::form->parse_amount(\%::myconfig, $::form->{settings}->{max_amount_diff});
   }
 
-  delete $::form->{profile}->{id};
   $self->profile($existing_profile || SL::DB::CsvImportProfile->new(login => $::myconfig{login}));
   $self->profile->assign_attributes(%{ $::form->{profile} });
   $self->profile->settings(map({ { key => $_, value => $::form->{settings}->{$_} } } keys %{ $::form->{settings} }),