[-] FO : Fix html entities in order messages and threads

This commit is contained in:
Gregory Roussac
2012-12-27 12:21:03 +01:00
parent 83cceb1ac7
commit dbb8a9f2e0
6 changed files with 56 additions and 6 deletions

View File

@@ -509,7 +509,7 @@ abstract class PaymentModuleCore extends Module
$customer_message = new CustomerMessage();
$customer_message->id_customer_thread = $customer_thread->id;
$customer_message->id_employee = 0;
$customer_message->message = htmlentities($update_message->message, ENT_COMPAT, 'UTF-8');
$customer_message->message = $update_message->message;
$customer_message->private = 0;
if (!$customer_message->add())