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 @@
- -
- Up: =Format::get_size($LoggedUser['BytesUploaded'])?>
-
- -
- Down: =Format::get_size($LoggedUser['BytesDownloaded'])?>
-
- -
- Ratio: =Format::get_ratio_html($LoggedUser['BytesUploaded'], $LoggedUser['BytesDownloaded'])?>
-
+ - Up: =Format::get_size($LoggedUser['BytesUploaded'])?>
+ - Down: =Format::get_size($LoggedUser['BytesDownloaded'])?>
+ - Ratio: =Format::get_ratio_html($LoggedUser['BytesUploaded'], $LoggedUser['BytesDownloaded'])?>
if(!empty($LoggedUser['RequiredRatio'])) {?>
- -
- Required: =number_format($LoggedUser['RequiredRatio'], 2)?>
-
+ - Required: =number_format($LoggedUser['RequiredRatio'], 2)?>
}
if($LoggedUser['FLTokens'] > 0) { ?>
- -
- Tokens: =$LoggedUser['FLTokens']?>
-
+ - Tokens: =$LoggedUser['FLTokens']?>
} ?>
@@ -170,67 +148,31 @@
} ?>
diff --git a/sections/torrents/functions.php b/sections/torrents/functions.php
index 25840690..54b27594 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=Group+$GroupID");
+ header("Location: log.php?search=".(empty($_GET['torrentid']) ? "Group+$GroupID" : "Torrent+$_GET[torrentid]"));
die();
}
if (in_array(0, $DB->collect('Seeders'))) {