[-] BO : fixed bug in contact message with html

This commit is contained in:
vAugagneur
2012-02-28 11:05:21 +00:00
parent 00600c5fe8
commit 047d6b1569
7 changed files with 140 additions and 43 deletions
+1 -1
View File
@@ -345,7 +345,7 @@ class AdminOrdersControllerCore extends AdminController
else
{
$message = $customer_message->message;
if (Configuration::get('PS_MAIL_TYPE') != 2)
if (Configuration::get('PS_MAIL_TYPE') != Mail::TYPE_TEXT)
$message = Tools::nl2br($customer_message->message);
$varsTpl = array(