[-] FO: Fix language switching on modules controllers

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17908 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-10-22 16:24:24 +00:00
parent 249094ab0e
commit 58dc350815
+1 -1
View File
@@ -224,7 +224,7 @@ class DispatcherCore
$this->setRequestUri();
// Switch language if needed (only on front)
if ($this->front_controller == self::FC_FRONT)
if (in_array($this->front_controller, array(self::FC_FRONT, self::FC_MODULE)))
Tools::switchLanguage();
if (Language::isMultiLanguageActivated())