diff --git a/sections/torrents/functions.php b/sections/torrents/functions.php index 968ddc34..25840690 100644 --- a/sections/torrents/functions.php +++ b/sections/torrents/functions.php @@ -105,7 +105,7 @@ function get_group_info($GroupID, $Return = true, $RevisionID = 0) { $TorrentList = $DB->to_array('ID', MYSQLI_ASSOC); if (count($TorrentList) == 0) { - header("Location: log.php?search=Torrent+$GroupID"); + header("Location: log.php?search=Group+$GroupID"); die(); } if (in_array(0, $DB->collect('Seeders'))) { diff --git a/sections/torrents/peerlist.php b/sections/torrents/peerlist.php index 309fb208..8df65805 100644 --- a/sections/torrents/peerlist.php +++ b/sections/torrents/peerlist.php @@ -23,7 +23,7 @@ JOIN torrents AS t ON t.ID=xu.fid WHERE xu.fid='$TorrentID' AND um.Visible='1' - ORDER BY xu.uploaded DESC + ORDER BY xu.uid = '$LoggedUser[ID]' DESC, xu.uploaded DESC LIMIT $Limit"); $DB->query("SELECT FOUND_ROWS()"); list($NumResults) = $DB->next_record(); diff --git a/sections/userhistory/subscribed_collages.php b/sections/userhistory/subscribed_collages.php index c4cd5185..e91fda19 100644 --- a/sections/userhistory/subscribed_collages.php +++ b/sections/userhistory/subscribed_collages.php @@ -221,7 +221,7 @@ $LastRemasterCatalogueNumber = $Torrent['RemasterCatalogueNumber']; $LastMedia = $Torrent['Media']; ?> -