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
@@ -161,7 +161,7 @@ function maketable($res, $mode = 'seeding')
return $ret;
}
$id = 0+$_GET['userid'];
$id = $_GET['userid'] ?? 0;
$type = $_GET['type'];
if (!in_array($type,array('uploaded','seeding','leeching','completed','incomplete')))
die;