1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

wrong action in form with userlanguage menu #1883

This commit is contained in:
Jimmi08
2016-10-02 19:58:32 +02:00
parent 3747cd755e
commit 11e330cd43

View File

@@ -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">