Fix searching by punishment ID

This commit is contained in:
ruan 2022-04-19 13:43:21 +02:00
parent e5bd04c070
commit 3d4e7cb6a7

View File

@ -35,7 +35,7 @@ class Check {
if (!isset($uuid)) {
if (filter_var($name, FILTER_VALIDATE_FLOAT)) {
echo "<br>";
redirect($page->link("info.php?id=$name&type=$type"));
redirect($page->link("info.php?type=$type&id=$name"));
return;
}
$name = htmlspecialchars($name, ENT_QUOTES);