// Context part 27

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7812 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-07-29 14:29:57 +00:00
parent 35748d1b8f
commit 5d090a25b3
66 changed files with 532 additions and 813 deletions
+1 -3
View File
@@ -36,8 +36,6 @@ class Newsletter extends Module
public function __construct()
{
global $cookie;
$this->name = 'newsletter';
$this->tab = 'administration';
$this->version = 2.0;
@@ -55,7 +53,7 @@ class Newsletter extends Module
$this->_postValid = array();
// Getting data...
$_countries = Country::getCountries((int)($cookie->id_lang));
$_countries = Country::getCountries($this->context->language->id);
// ...formatting array
$countries[0] = $this->l('All countries');