// 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
@@ -58,9 +58,7 @@ class iAdvize extends Module
public function getContent()
{
global $cookie;
$lang = new Language((int)($cookie->id_lang));
$lang = $this->context->language;
if (!in_array($lang->iso_code, array('fr', 'en', 'es')))
$lang->iso_code = 'en';