From: Bernd Bleßmann Date: Fri, 17 Feb 2017 16:01:21 +0000 (+0100) Subject: CsvImport: doppeltes delete-Statement entfernt X-Git-Tag: release-3.5.4~1226 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a15bcf2f15ab7c48cbdf3b3d876bef3a67ccbf9f;p=kivitendo-erp.git CsvImport: doppeltes delete-Statement entfernt --- diff --git a/SL/Controller/CsvImport.pm b/SL/Controller/CsvImport.pm index 6b0904288..13ec1f5be 100644 --- a/SL/Controller/CsvImport.pm +++ b/SL/Controller/CsvImport.pm @@ -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} }),