From: Moritz Bunkus Date: Wed, 30 May 2007 11:07:53 +0000 (+0000) Subject: Beim Emailversand von Mahnungen wurden die falschen Dateinamen benutzt, sodass die... X-Git-Tag: release-2.4.3^2~233 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9ebfe4e6dc00c06cf487091a74783b753ca3da66;p=kivitendo-erp.git Beim Emailversand von Mahnungen wurden die falschen Dateinamen benutzt, sodass die angehÃĪngten PDFs leer waren. --- diff --git a/SL/DN.pm b/SL/DN.pm index 65fab85e6..711a88463 100644 --- a/SL/DN.pm +++ b/SL/DN.pm @@ -758,7 +758,7 @@ sub print_dunning { delete $form->{tmpfile}; push @{ $form->{DUNNING_PDFS} }, $filename; - push @{ $form->{DUNNING_PDFS_EMAIL} }, { 'filename' => $filename, + push @{ $form->{DUNNING_PDFS_EMAIL} }, { 'filename' => "${main::spool}/$filename", 'name' => "dunning_${dunning_id}.pdf" }; $form->parse_template($myconfig, $main::userspath); @@ -855,7 +855,7 @@ sub print_invoice_for_fees { restore_form($saved_form); push @{ $form->{DUNNING_PDFS} }, $filename; - push @{ $form->{DUNNING_PDFS_EMAIL} }, { 'filename' => $filename, + push @{ $form->{DUNNING_PDFS_EMAIL} }, { 'filename' => "${main::spool}/$filename", 'name' => "dunning_invoice_${dunning_id}.pdf" }; $dbh->disconnect() unless $provided_dbh;