SL::DN: überflüssigen Parameter dbh für print_original_invoices entfernt
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Wed, 17 Mar 2021 15:02:01 +0000 (16:02 +0100)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Wed, 17 Mar 2021 16:09:37 +0000 (17:09 +0100)
SL/DN.pm

index 0d4146c..646b9e0 100644 (file)
--- a/SL/DN.pm
+++ b/SL/DN.pm
@@ -416,7 +416,7 @@ sub _save_dunning {
   $self->print_dunning($myconfig, $form, $dunning_id, $dbh);
 
   if ($print_invoice) {
-    $self->print_original_invoices($myconfig, $form, $_, $dbh) for @invoice_ids;
+    $self->print_original_invoices($myconfig, $form, $_) for @invoice_ids;
   }
 
   if ($send_email) {