]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/BackgroundJob/CreatePeriodicInvoices.pm
Merge branch 'b-3.6.1' into mebil
[kivitendo-erp.git] / SL / BackgroundJob / CreatePeriodicInvoices.pm
index ab28961965fa8e2ec5ba6ea1e34b0758e718583c..4e32063176f886920f6dbfe71faa43022abf0a99 100644 (file)
@@ -473,7 +473,7 @@ sub _email_invoice {
         invoice          => $data->{invoice},
         vars             => $data->{time_period_vars},
         attribute        => $_,
-        attribute_format => 'text'
+        attribute_format => ($_ eq 'email_body' ? 'html' : 'text')
       );
     }