From cf7aebd029b1082438d3582e1ae2ee92b7442511 Mon Sep 17 00:00:00 2001 From: Milow <{email}> Date: Wed, 5 Dec 2012 21:27:37 -0600 Subject: [PATCH] Fix typo --- classes/Mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Mail.php b/classes/Mail.php index fb12171da..f8de31491 100644 --- a/classes/Mail.php +++ b/classes/Mail.php @@ -212,7 +212,7 @@ class MailCore else if (!file_exists($template_path.$template.'.html') && ($configuration['PS_MAIL_TYPE'] == Mail::TYPE_BOTH || $configuration['PS_MAIL_TYPE'] == Mail::TYPE_HTML)) { Tools::dieOrLog(Tools::displayError('Error - The following e-mail template is missing:').' '.$template_path.$template.'.html', $die); - reutrn false; + return false; } $template_html = file_get_contents($template_path.$template.'.html'); $template_txt = strip_tags(html_entity_decode(file_get_contents($template_path.$template.'.txt'), null, 'utf-8'));