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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14816 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-04-23 13:44:47 +00:00
parent 6683903b1a
commit fb45b9d71e
+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']);
}
}