[-] BO: Fix #PSCFV-8179 shop domain used in emails sometimes was for the wrong shop
This commit is contained in:
1 parent
4b59516a52
commit
41786587ba
6 files changed
+41
-9
No files matched your search
@@ -373,6 +373,9 @@ class AdminCustomerThreadsControllerCore extends AdminController
|
||||
if (Tools::isSubmit('submitReply'))
|
||||
{
|
||||
$ct = new CustomerThread($id_customer_thread);
|
||||
|
||||
ShopUrl::cacheMainDomainForShop((int)$ct->id_shop);
|
||||
|
||||
$cm = new CustomerMessage();
|
||||
$cm->id_employee = (int)$this->context->employee->id;
|
||||
$cm->id_customer_thread = $ct->id;
|
||||
|
||||
Reference in new issue
Block a user