enable user handle leechwarn

This commit is contained in:
xiaomlove
2021-05-15 12:59:59 +08:00
parent 682cf806d7
commit 73f9920e1f
5 changed files with 22 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ if ($passkey){
die("invalid passkey");
elseif ($user['enabled'] == 'no' || $user['parked'] == 'yes')
die("account disabed or parked");
elseif ($_GET['linktype'] == 'dl')
elseif (isset($_GET['linktype']) && $_GET['linktype'] == 'dl')
$dllink = true;
$inclbookmarked=intval($_GET['inclbookmarked'] ?? 0);
if($inclbookmarked == 1)