[-] BO: Fix from name when replying to customer threads
This commit is contained in:
1 parent
c7323c2bfe
commit
d49c4cf62e
1 file changed
+2
-1
@@ -404,7 +404,7 @@ class AdminCustomerThreadsControllerCore extends AdminController
|
|||||||
$contact = new Contact((int)$ct->id_contact, (int)$ct->id_lang);
|
$contact = new Contact((int)$ct->id_contact, (int)$ct->id_lang);
|
||||||
if (Validate::isLoadedObject($contact))
|
if (Validate::isLoadedObject($contact))
|
||||||
{
|
{
|
||||||
$from_name = $contact->name[(int)$ct->id_lang];
|
$from_name = $contact->name;
|
||||||
$from_email = $contact->email;
|
$from_email = $contact->email;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -412,6 +412,7 @@ class AdminCustomerThreadsControllerCore extends AdminController
|
|||||||
$from_name = null;
|
$from_name = null;
|
||||||
$from_email = null;
|
$from_email = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Mail::Send(
|
if (Mail::Send(
|
||||||
(int)$ct->id_lang,
|
(int)$ct->id_lang,
|
||||||
'reply_msg',
|
'reply_msg',
|
||||||
|
|||||||
Reference in new issue
Block a user