]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Controller/BackgroundJob.pm
BackgroundJobs: "speichern und ausführen" für neue Jobs gefixt
[mfinanz.git] / SL / Controller / BackgroundJob.pm
index 797797782fc421460e13d19b026ce29daa063ef9..5f937d536d70c8765650adb20253a195e81879d2 100644 (file)
@@ -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;
 }