diff --git a/design/privateheader.php b/design/privateheader.php index b3c0e8d4..022d4638 100644 --- a/design/privateheader.php +++ b/design/privateheader.php @@ -95,20 +95,12 @@
to_array('ID', MYSQLI_ASSOC); if (count($TorrentList) == 0) { - header("Location: log.php?search=Group+$GroupID"); + header("Location: log.php?search=".(empty($_GET['torrentid']) ? "Group+$GroupID" : "Torrent+$_GET[torrentid]")); die(); } if (in_array(0, $DB->collect('Seeders'))) {