// Add a redirection in Tools::switchLanguage() to prevent problems with friendly url #PSFV-705

This commit is contained in:
rMalie
2012-04-23 13:44:47 +00:00
parent 52a7a1ee1f
commit 1880f6bd87
+2
View File
@@ -384,6 +384,8 @@ class ToolsCore
$language = new Language($id_lang);
if (Validate::isLoadedObject($language))
$context->language = $language;
Tools::redirect($_SERVER['REQUEST_URI']);
}
}