Analog zu deb78525654e0
authorJan Büren <jan@kivitendo.de>
Wed, 16 Feb 2022 10:02:28 +0000 (11:02 +0100)
committerJan Büren <jan@kivitendo.de>
Wed, 16 Feb 2022 10:02:28 +0000 (11:02 +0100)
SL/Controller/MassInvoiceCreatePrint.pm

index bfaf0a2..626a663 100644 (file)
@@ -58,7 +58,7 @@ sub action_create_invoices {
   }
 
   my $db = SL::DB::Invoice->new->db;
-  my $dbh = SL::DB->client->dbh;
+  my $dbh = $db->dbh;
   my @invoices;
   my @already_closed_delivery_orders;