mirror of
https://github.com/e107inc/e107.git
synced 2025-05-03 18:59:45 +02:00
Merge pull request #1908 from Jimmi08/master
wrong action in form with userlanguage menu #1883
This commit is contained in:
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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user