mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
keep some default value be integer 2
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ loggedinorreturn();
|
||||
if (get_user_class() < $userprofile_class)
|
||||
permissiondenied();
|
||||
|
||||
$userid = $_GET["id"] ?? 0;
|
||||
$userid = intval($_GET["id"] ?? 0);
|
||||
if (!is_valid_id($userid))
|
||||
stderr($lang_iphistory['std_error'], $lang_iphistory['std_invalid_id']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user