// Context part 9
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7637 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -31,12 +31,11 @@ class AdminEmails extends AdminPreferences
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
global $cookie;
|
||||
|
||||
$context = Context::getContext();
|
||||
$this->className = 'Configuration';
|
||||
$this->table = 'configuration';
|
||||
|
||||
foreach (Contact::getContacts((int)$cookie->id_lang) AS $contact)
|
||||
foreach (Contact::getContacts($context->language->id) AS $contact)
|
||||
$arr[] = array('email_message' => $contact['id_contact'], 'name' => $contact['name']);
|
||||
|
||||
$this->_fieldsEmail = array(
|
||||
|
||||
Reference in New Issue
Block a user