Commit b5f9e0c5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* do nothing if current_language == select_language in Base_doLanguage.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27695 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b36c16c1
......@@ -69,7 +69,9 @@ if website is not None and website.isStaticLanguageSelection():\n
# which is different in the case of a Web Site\n
web_site_url = web_site_url[:-len(current_language) - 1]\n
\n
if current_language == default_language:\n
if current_language == select_language:\n
redirect_url = referer_url\n
elif current_language == default_language:\n
redirect_url = referer_url.replace(web_site_url, \'%s/%s\' %\n
(web_site_url, select_language))\n
elif select_language == default_language:\n
......
818
\ No newline at end of file
820
\ 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