mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 08:29:06 +00:00
Fix searching by punishment ID
This commit is contained in:
parent
e5bd04c070
commit
3d4e7cb6a7
@ -35,7 +35,7 @@ class Check {
|
|||||||
if (!isset($uuid)) {
|
if (!isset($uuid)) {
|
||||||
if (filter_var($name, FILTER_VALIDATE_FLOAT)) {
|
if (filter_var($name, FILTER_VALIDATE_FLOAT)) {
|
||||||
echo "<br>";
|
echo "<br>";
|
||||||
redirect($page->link("info.php?id=$name&type=$type"));
|
redirect($page->link("info.php?type=$type&id=$name"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$name = htmlspecialchars($name, ENT_QUOTES);
|
$name = htmlspecialchars($name, ENT_QUOTES);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user