[-] FO: Fix language switching on modules controllers

This commit is contained in:
rGaillard
2012-10-22 16:24:24 +00:00
parent b85c06fb01
commit 6972e65a4c
+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())