1
0
mirror of https://github.com/e107inc/e107.git synced 2025-05-03 18:59:45 +02:00

Merge pull request from Jimmi08/master

wrong action in form with userlanguage menu 
This commit is contained in:
Cameron 2016-10-03 09:12:03 -07:00 committed by GitHub
commit 2e61d973b1

@ -24,7 +24,7 @@ sort($languageList);
if(varset($pref['multilanguage_subdomain']))
{
$action = (e_QUERY) ? e_SELF.'?'.e_QUERY : e_SELF;
$action = e_REQUEST_URI;
$text = '
<div style="text-align:center">
<select class="tbox form-control" name="lang_select" style="width:95%" onchange="location.href=this.options[selectedIndex].value">';
@ -42,7 +42,7 @@ if(varset($pref['multilanguage_subdomain']))
else
{
//FIXME may not work with session
$action = (e_QUERY && ! $_GET['elan']) ? e_SELF.'?'.e_QUERY : e_SELF;
$action = e_REQUEST_URI;
$text = '
<form method="post" action="'.$action.'">
<div class="center">