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"])
+1 -1
View File
@@ -289,7 +289,7 @@ stdfoot();
}
if ($action == "moveordel")
{
$pm_id = (int) $_POST['id'];
$pm_id = (int) $_POST['id'] ?? 0;
$pm_box = (int) $_POST['box'];
$pm_messages = $_POST['messages'];
if ($_POST['markread'])
+1 -1
View File
@@ -581,7 +581,7 @@ if ($action == "exchange") {
$userid = $CURUSER['id'];
$art = $bonusarray['art'];
$bonuscomment = $CURUSER['bonuscomment'];
// $bonuscomment = $CURUSER['bonuscomment'];
$seedbonus=$CURUSER['seedbonus']-$points;
if($CURUSER['seedbonus'] >= $points) {