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

This commit is contained in:
vAugagneur committed 2012-02-28 11:05:21 +00:00
1 parent 00600c5fe8
commit 047d6b1569
7 files changed
+140 -43

No files matched your search

@@ -319,7 +319,7 @@ class AdminCustomerThreadsControllerCore extends AdminController
if ($id_employee && $employee && Validate::isLoadedObject($employee))
{
$params = array(
'{messages}' => $output,
'{messages}' => Tools::nl2br(stripslashes($output)),
'{employee}' => $current_employee->firstname.' '.$current_employee->lastname,
'{comment}' => stripslashes($_POST['message_forward']));
@@ -341,7 +341,7 @@ class AdminCustomerThreadsControllerCore extends AdminController
else if ($email && Validate::isEmail($email))
{
$params = array(
'{messages}' => $output,
'{messages}' => Tools::nl2br(stripslashes($output)),
'{employee}' => $current_employee->firstname.' '.$current_employee->lastname,
'{comment}' => stripslashes($_POST['message_forward']));