diff --git a/details.php b/details.php
index 2d61d713..3e96b646 100644
--- a/details.php
+++ b/details.php
@@ -450,7 +450,7 @@ else {
return sprintf("%02x", ord($matches[0]));
}
if ($enablenfo_main=='yes')
- tr($lang_details['row_torrent_info'], "
" . ($files_info != "" ? "| " . $files_info . " | " : "") . "".$lang_details['row_info_hash'].": ".preg_replace_callback('/./s', "hex_esc", hash_pad($row["info_hash"]))." | ". (get_user_class() >= $torrentstructure_class ? "" . $lang_details['text_torrent_structure'] . "".$lang_details['text_torrent_info_note']." | " : "") . "
",1);
+ tr($lang_details['row_torrent_info'], "" . (!empty($files_info) ? "| " . $files_info . " | " : "") . "".$lang_details['row_info_hash'].": ".preg_replace_callback('/./s', "hex_esc", hash_pad($row["info_hash"]))." | ". (get_user_class() >= $torrentstructure_class ? "" . $lang_details['text_torrent_structure'] . "".$lang_details['text_torrent_info_note']." | " : "") . "
",1);
tr($lang_details['row_hot_meter'], "",1);
$bwres = sql_query("SELECT uploadspeed.name AS upname, downloadspeed.name AS downname, isp.name AS ispname FROM users LEFT JOIN uploadspeed ON users.upload = uploadspeed.id LEFT JOIN downloadspeed ON users.download = downloadspeed.id LEFT JOIN isp ON users.isp = isp.id WHERE users.id=".$row['owner']);
$bwrow = mysql_fetch_array($bwres);