diff --git a/override/controllers/ContactController.php b/override/controllers/ContactController.php index 2559b1bc..b32b1391 100755 --- a/override/controllers/ContactController.php +++ b/override/controllers/ContactController.php @@ -210,7 +210,7 @@ class ContactController extends ContactControllerCore { { // Update date_upd to the last interesting date if ($ctStatusLast !== false && $ctStatusLast == 'open') { - $sql = 'UPDATE `'._DB_PREFIX_.'customer_threads` SET `date_upd` = "'.$ctStatusDate.'" WHERE id_customer_thread='. $ct->id; + $sql = 'UPDATE `'._DB_PREFIX_.'customer_thread` SET `date_upd` = "'.$ctStatusDate.'" WHERE id_customer_thread='. $ct->id; Db::getInstance()->Execute($sql); }