From: Sven Schöling Date: Thu, 19 Jun 2014 09:36:30 +0000 (+0200) Subject: PeriodicInvoices: korrekter Fallback, wenn kein email Template gesetzt ist. X-Git-Tag: release-3.2.0beta~411^2~52 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=52fd326961737a6a90f5c11cc0e106035295b3f4;p=kivitendo-erp.git PeriodicInvoices: korrekter Fallback, wenn kein email Template gesetzt ist. --- diff --git a/SL/BackgroundJob/CreatePeriodicInvoices.pm b/SL/BackgroundJob/CreatePeriodicInvoices.pm index 1e55ef951..18abf7c1a 100644 --- a/SL/BackgroundJob/CreatePeriodicInvoices.pm +++ b/SL/BackgroundJob/CreatePeriodicInvoices.pm @@ -213,7 +213,7 @@ sub _send_email { return unless $template; my $email_template = $config{periodic_invoices}->{email_template}; - my $filename = $email_template || ( (SL::DB::Default->get->templates || "templates/webpages") . "/periodic_invoices_email.txt" ); + my $filename = $email_template || ( (SL::DB::Default->get->templates || "templates/webpages") . "/oe/periodic_invoices_email.txt" ); my %params = ( POSTED_INVOICES => $posted_invoices, PRINTED_INVOICES => $printed_invoices );