[-] FO: Fix language switching on modules controllers
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user