// Add a redirection in Tools::switchLanguage() to prevent problems with friendly url #PSFV-705
This commit is contained in:
1 parent
52a7a1ee1f
commit
1880f6bd87
1 file changed
+2
@@ -384,6 +384,8 @@ class ToolsCore
|
||||
$language = new Language($id_lang);
|
||||
if (Validate::isLoadedObject($language))
|
||||
$context->language = $language;
|
||||
|
||||
Tools::redirect($_SERVER['REQUEST_URI']);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user