From 6972e65a4c274ca4f1352dc12684060f83eaa3e2 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())