X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/16df30aaca2c8d4173f1ea76be206ef5a23e69c9..cdd666f230c48dcda3d28925e8d8c278b51b1922:/SL/Controller/BackgroundJob.pm?ds=inline diff --git a/SL/Controller/BackgroundJob.pm b/SL/Controller/BackgroundJob.pm index 797797782..5f937d536 100644 --- a/SL/Controller/BackgroundJob.pm +++ b/SL/Controller/BackgroundJob.pm @@ -92,6 +92,7 @@ sub action_destroy { sub action_save_and_execute { my ($self) = @_; + $self->background_job(SL::DB::BackgroundJob->new) if !$self->background_job; return unless $self->create_or_update; $self->action_execute; }