[-] BO : FixBug #PSCFV-10671 - remove htmlentities on customer message

This commit is contained in:
Jerome Nadaud
2013-10-11 17:29:44 +02:00
parent a07733fcec
commit 0f9c81a683
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -426,7 +426,7 @@ class AdminOrdersControllerCore extends AdminController
$customer_message = new CustomerMessage();
$customer_message->id_customer_thread = $customer_thread->id;
$customer_message->id_employee = (int)$this->context->employee->id;
$customer_message->message = htmlentities(Tools::getValue('message'), ENT_COMPAT, 'UTF-8');
$customer_message->message = Tools::getValue('message');
$customer_message->private = Tools::getValue('visibility');
if (!$customer_message->add())