GX-Bug #46551 » PDFInvoiceMailNoHTMLFix.patch
src/admin/gm_pdf_order.php (revision ) | ||
---|---|---|
730 | 730 |
$mailResult = xtc_php_mail(EMAIL_FROM, STORE_NAME, $order_check['customers_email_address'], |
731 | 731 |
$order_check['customers_firstname'] . ' ' . $order_check['customers_lastname'], |
732 | 732 |
EMAIL_BILLING_FORWARDING_STRING, '', '', $t_mail_attachment_array, '', |
733 |
$subject, $mail_text, '');
|
|
733 |
$subject, $mail_text, strip_tags($mail_text));
|
|
734 | 734 |
if($mailResult) |
735 | 735 |
{ |
736 | 736 |
echo PDF_MAIL_SUCCESS . '<br><br><span class="btn pull-right" onclick="gm_mail_close(\'INVOICE_MAIL\')" style="cursor:pointer">' . PDF_MAIL_CLOSE . '</span>'; |