// Context part 25
This commit is contained in:
@@ -31,11 +31,10 @@ class AdminEmails extends AdminPreferences
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$context = Context::getContext();
|
||||
$this->className = 'Configuration';
|
||||
$this->table = 'configuration';
|
||||
|
||||
foreach (Contact::getContacts($context->language->id) AS $contact)
|
||||
foreach (Contact::getContacts($this->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