[-] BO : fixed bug #PSCFV-4925 - duplicate subject in SAV
This commit is contained in:
@@ -35,6 +35,7 @@ class AdminCustomerThreadsControllerCore extends AdminController
|
|||||||
|
|
||||||
$contact_array = array();
|
$contact_array = array();
|
||||||
$contacts = Contact::getContacts($this->context->language->id);
|
$contacts = Contact::getContacts($this->context->language->id);
|
||||||
|
|
||||||
foreach ($contacts as $contact)
|
foreach ($contacts as $contact)
|
||||||
$contact_array[$contact['id_contact']] = $contact['name'];
|
$contact_array[$contact['id_contact']] = $contact['name'];
|
||||||
|
|
||||||
@@ -566,7 +567,10 @@ class AdminCustomerThreadsControllerCore extends AdminController
|
|||||||
$tpl = $this->createTemplate('message.tpl');
|
$tpl = $this->createTemplate('message.tpl');
|
||||||
|
|
||||||
$contacts = Contact::getContacts($this->context->language->id);
|
$contacts = Contact::getContacts($this->context->language->id);
|
||||||
|
foreach ($contacts as $contact)
|
||||||
|
$contact_array[$contact['id_contact']] = array('id_contact' => $contact['id_contact'], 'name' => $contact['name']);
|
||||||
|
$contacts = $contact_array;
|
||||||
|
|
||||||
if (!$email)
|
if (!$email)
|
||||||
{
|
{
|
||||||
if (!empty($message['id_product']) && empty($message['employee_name']))
|
if (!empty($message['id_product']) && empty($message['employee_name']))
|
||||||
|
|||||||
Reference in New Issue
Block a user