diff --git a/controllers/front/ContactController.php b/controllers/front/ContactController.php index 0dbbd9f14..eb3b9c20c 100644 --- a/controllers/front/ContactController.php +++ b/controllers/front/ContactController.php @@ -235,7 +235,7 @@ class ContactControllerCore extends FrontController )); - if ($id_customer_thread = (int)Tools::getValue('id_customer_thread') && $token = Tools::getValue('token')) + if (($id_customer_thread = (int)Tools::getValue('id_customer_thread')) && $token = Tools::getValue('token')) { $customerThread = Db::getInstance()->getRow(' SELECT cm.*