X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9ebfe4e6dc00c06cf487091a74783b753ca3da66..63ecb9a75a94dc9ffbc2a74d153800ce4c1cd32b:/bin/mozilla/dn.pl diff --git a/bin/mozilla/dn.pl b/bin/mozilla/dn.pl index 94af9502a..9af3089f2 100644 --- a/bin/mozilla/dn.pl +++ b/bin/mozilla/dn.pl @@ -209,7 +209,7 @@ sub save_dunning { } if($form->{DUNNING_PDFS}) { - DN->melt_pdfs(\%myconfig, $form); + DN->melt_pdfs(\%myconfig, $form, $form->{copies}); } # saving the history @@ -220,7 +220,10 @@ sub save_dunning { } # /saving the history - $form->redirect($locale->text('Dunning Process started for selected invoices!')) if ($form->{media} eq 'printer'); + if ($form->{media} eq 'printer') { + delete $form->{callback}; + $form->redirect($locale->text('Dunning Process started for selected invoices!')); + } $lxdebug->leave_sub(); }