From d49c4cf62e1919c66dc46a4161cb8045153092c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Mon, 4 Nov 2013 09:38:12 +0100 Subject: [PATCH] [-] BO: Fix from name when replying to customer threads --- controllers/admin/AdminCustomerThreadsController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controllers/admin/AdminCustomerThreadsController.php b/controllers/admin/AdminCustomerThreadsController.php index da3f4b15c..cc455ef8b 100644 --- a/controllers/admin/AdminCustomerThreadsController.php +++ b/controllers/admin/AdminCustomerThreadsController.php @@ -404,7 +404,7 @@ class AdminCustomerThreadsControllerCore extends AdminController $contact = new Contact((int)$ct->id_contact, (int)$ct->id_lang); if (Validate::isLoadedObject($contact)) { - $from_name = $contact->name[(int)$ct->id_lang]; + $from_name = $contact->name; $from_email = $contact->email; } else @@ -412,6 +412,7 @@ class AdminCustomerThreadsControllerCore extends AdminController $from_name = null; $from_email = null; } + if (Mail::Send( (int)$ct->id_lang, 'reply_msg',