mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 20:17:24 +08:00
fix issues + tag sort
This commit is contained in:
@@ -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
@@ -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
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user