Move encoding up

This commit is contained in:
Julian Merkle
2018-03-25 18:34:21 +02:00
parent 2a43a3a446
commit 1603e9269e

View File

@@ -28,8 +28,9 @@ if(!isset($_SESSION[$rspathhex.'tsuid'])) {
set_session_ts3($ts['voice'], $mysqlcon, $dbname, $language, $adminuuid);
}
$_GET["search"] = htmlspecialchars($_POST['usersuche']);
if(isset($_POST['username'])) {
$_GET["search"] = strip_tags(htmlspecialchars($_POST['usersuche']));
$_GET["seite"] = 1;
}
$filter='';
@@ -144,8 +145,6 @@ if(!isset($_GET["user"])) {
$user_pro_seite = preg_replace('/\D/', '', $_GET["user"]);
}
$getstring = htmlspecialchars($getstring);
$start = ($seite * $user_pro_seite) - $user_pro_seite;
if ($keysort == 'active' && $keyorder == 'asc') {