// Normalization

This commit is contained in:
rMalie
2011-08-11 09:58:20 +00:00
parent 4f1e8fc2d5
commit 7fec565167
48 changed files with 77 additions and 77 deletions
+2 -2
View File
@@ -121,7 +121,7 @@ class ContactControllerCore extends FrontController
foreach ($fields as $key => $row)
{
$tmp = 0;
if ((int)$row['id_customer'] AND $row['id_customer'] != $customer->id AND $row['email'] != $from)
if ($row['id_customer'] AND $row['id_customer'] != $customer->id AND $row['email'] != $from)
continue;
if ($row['id_order'] != 0 AND Tools::getValue('id_order') != $row['id_order'])
continue;
@@ -159,7 +159,7 @@ class ContactControllerCore extends FrontController
if ($contact->customer_service)
{
if ((int)$id_customer_thread)
if ($id_customer_thread)
{
$ct = new CustomerThread($id_customer_thread);
$ct->status = 'open';