mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
fix warning
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user