keep default value be integer

This commit is contained in:
xiaomlove
2021-01-06 01:39:45 +08:00
parent 9bce2ac1a4
commit 28ab56fe70
5 changed files with 31 additions and 31 deletions

View File

@@ -8,7 +8,7 @@ if (get_user_class() < $viewuserlist_class)
permissiondenied();
$search = trim($_GET['search']);
$class = $_GET['class'];
$country = $_GET['country'] ?? 0;
$country = intval($_GET['country'] ?? 0);
$letter = trim($_GET["letter"]);
if (strlen($letter) > 1)