// Context part 9

This commit is contained in:
tDidierjean
2011-07-18 10:08:07 +00:00
parent badba064b2
commit bc5d36821d
39 changed files with 290 additions and 445 deletions
+2 -3
View File
@@ -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(