From a15bcf2f15ab7c48cbdf3b3d876bef3a67ccbf9f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 17 Feb 2017 17:01:21 +0100 Subject: [PATCH] CsvImport: doppeltes delete-Statement entfernt --- SL/Controller/CsvImport.pm | 1 - 1 file changed, 1 deletion(-) 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} }), -- 2.20.1