// Add a redirection in Tools::switchLanguage() to prevent problems with friendly url #PSFV-705
This commit is contained in:
1 parent
51c97d4992
commit
f94e3c9cf4
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