From: Moritz Bunkus Date: Fri, 9 Aug 2013 12:27:35 +0000 (+0200) Subject: BackgroundJobs: "speichern und ausführen" für neue Jobs gefixt X-Git-Tag: release-3.1.0beta1~89 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0dc2d52f5f3326619d8fad73e9c13f16822c1362;p=kivitendo-erp.git BackgroundJobs: "speichern und ausführen" für neue Jobs gefixt --- 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; }