From 4c0a5d1bb29658987b7088926ce867f347314da9 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Mon, 22 Oct 2012 16:24:24 +0000 Subject: [PATCH] [-] FO: Fix language switching on modules controllers --- classes/Dispatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Dispatcher.php b/classes/Dispatcher.php index 747aa3946..354e7243c 100644 --- a/classes/Dispatcher.php +++ b/classes/Dispatcher.php @@ -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())