Commit db7b644b authored by Fabien Morin's avatar Fabien Morin

correct a mistake that make impossible to change language on a web site

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23509 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c735abff
...@@ -89,7 +89,7 @@ if website is not None:\n ...@@ -89,7 +89,7 @@ if website is not None:\n
else:\n else:\n
redirect_url = referer_url.replace(\'%s/%s\' % (web_site_url, current_language),\n redirect_url = referer_url.replace(\'%s/%s\' % (web_site_url, current_language),\n
\'%s/%s\' % (web_site_url, select_language))\n \'%s/%s\' % (web_site_url, select_language))\n
return context.REQUEST.RESPONSE.redirect(redirect_url)\n return context.REQUEST.RESPONSE.redirect(redirect_url)\n
else:\n else:\n
# ERP5 Mode\n # ERP5 Mode\n
# XXX Localizer-dependent\n # XXX Localizer-dependent\n
......
706 707
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment