mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-06-29 03:57:30 +08:00
keep some default value be integer 2
This commit is contained in:
@@ -161,7 +161,7 @@ function maketable($res, $mode = 'seeding')
|
||||
return $ret;
|
||||
}
|
||||
|
||||
$id = $_GET['userid'] ?? 0;
|
||||
$id = intval($_GET['userid'] ?? 0);
|
||||
$type = $_GET['type'];
|
||||
if (!in_array($type,array('uploaded','seeding','leeching','completed','incomplete')))
|
||||
die;
|
||||
|
||||
Reference in New Issue
Block a user