Move encoding to the correct position
This commit is contained in:
@@ -28,15 +28,14 @@ if(!isset($_SESSION[$rspathhex.'tsuid'])) {
|
|||||||
set_session_ts3($ts['voice'], $mysqlcon, $dbname, $language, $adminuuid);
|
set_session_ts3($ts['voice'], $mysqlcon, $dbname, $language, $adminuuid);
|
||||||
}
|
}
|
||||||
|
|
||||||
$_GET["search"] = htmlspecialchars($_POST['usersuche']);
|
|
||||||
|
|
||||||
if(isset($_POST['username'])) {
|
if(isset($_POST['username'])) {
|
||||||
$_GET["seite"] = 1;
|
$_GET["seite"] = 1;
|
||||||
|
$_GET["search"] = $_POST['usersuche'];
|
||||||
}
|
}
|
||||||
$filter='';
|
$filter='';
|
||||||
$searchstring='';
|
$searchstring='';
|
||||||
if(isset($_GET["search"]) && $_GET["search"] != '') {
|
if(isset($_GET["search"]) && $_GET["search"] != '') {
|
||||||
$getstring = $_GET['search'];
|
$getstring = htmlspecialchars($_GET['search']);
|
||||||
}
|
}
|
||||||
if(isset($getstring) && strstr($getstring, 'filter:excepted:')) {
|
if(isset($getstring) && strstr($getstring, 'filter:excepted:')) {
|
||||||
if(str_replace('filter:excepted:','',$getstring)!='') {
|
if(str_replace('filter:excepted:','',$getstring)!='') {
|
||||||
|
|||||||
Reference in New Issue
Block a user