This commit is contained in:
Michael RICOIS 2018-03-01 16:27:27 +01:00
parent d307e50f7f
commit 9e010d63d6

View File

@ -221,7 +221,7 @@ if (Tools::isSubmit('submitMessage')) {
{
// 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);
}