projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DATEV CSV-Daten nach Spezifikation (cp1252) ausgebe ausgeben
[kivitendo-erp.git]
/
SL
/
Controller
/
BackgroundJob.pm
diff --git
a/SL/Controller/BackgroundJob.pm
b/SL/Controller/BackgroundJob.pm
index
1e73e1e
..
7e16a17
100644
(file)
--- a/
SL/Controller/BackgroundJob.pm
+++ b/
SL/Controller/BackgroundJob.pm
@@
-55,7
+55,8
@@
sub action_edit {
sub action_edit_as_new {
my ($self) = @_;
sub action_edit_as_new {
my ($self) = @_;
- $self->background_job($self->background_job->clone_and_reset);
+ delete $::form->{background_job}->{id};
+ $self->background_job(SL::DB::BackgroundJob->new(%{ $::form->{background_job} }));
$self->action_new;
}
$self->action_new;
}