fix issues + tag sort

This commit is contained in:
xiaomlove
2025-05-12 16:46:01 +07:00
parent 8b2c6cea2f
commit cc9d0969cc
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ $claimRep = new \App\Repositories\ClaimRepository();
$seedBoxRep = new \App\Repositories\SeedBoxRepository();
$claimTorrentTTL = \App\Models\Claim::getConfigTorrentTTL();
$id = intval($_GET['userid'] ?? 0);
$type = $_GET['type'];
$type = $_GET['type'] ?? '';
if (!in_array($type,array('uploaded','seeding','leeching','completed','incomplete')))
die;
if(!user_can('torrenthistory') && $id != $CURUSER["id"])