fix warning

This commit is contained in:
xiaomlove
2020-12-29 21:49:37 +08:00
parent d190ca6f67
commit 398cf8607a
55 changed files with 223 additions and 214 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ loggedinorreturn();
if (get_user_class() < $userprofile_class)
permissiondenied();
$userid = 0 + $_GET["id"];
$userid = $_GET["id"] ?? 0;
if (!is_valid_id($userid))
stderr($lang_iphistory['std_error'], $lang_iphistory['std_invalid_id']);