[-] FO: Fix language switching on modules controllers

This commit is contained in:
rGaillard committed 2012-10-22 16:24:24 +00:00
1 parent b85c06fb01
commit 6972e65a4c
1 file changed
+1 -1
+1 -1
View File
@@ -224,7 +224,7 @@ class DispatcherCore
$this->setRequestUri(); $this->setRequestUri();
// Switch language if needed (only on front) // 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(); Tools::switchLanguage();
if (Language::isMultiLanguageActivated()) if (Language::isMultiLanguageActivated())