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