Move encoding to the correct position

This commit is contained in:
Julian Merkle
2018-03-25 18:43:41 +02:00
parent 1603e9269e
commit 681cb5dfc6

View File

@@ -28,15 +28,14 @@ if(!isset($_SESSION[$rspathhex.'tsuid'])) {
set_session_ts3($ts['voice'], $mysqlcon, $dbname, $language, $adminuuid);
}
$_GET["search"] = htmlspecialchars($_POST['usersuche']);
if(isset($_POST['username'])) {
$_GET["seite"] = 1;
$_GET["search"] = $_POST['usersuche'];
}
$filter='';
$searchstring='';
if(isset($_GET["search"]) && $_GET["search"] != '') {
$getstring = $_GET['search'];
$getstring = htmlspecialchars($_GET['search']);
}
if(isset($getstring) && strstr($getstring, 'filter:excepted:')) {
if(str_replace('filter:excepted:','',$getstring)!='') {