summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGit <git@what.cd>2016-02-19 08:00:30 +0000
committerGit <git@what.cd>2016-02-19 08:00:30 +0000
commit61def2bf687277ba84158918bee7ab24b0684897 (patch)
treeb779a247849d7bb52b88b1f8e7923d49e5693abc
parent69f5523111de7e885e4f7bdcc1de746bff5b1223 (diff)
downloadGazelle-61def2bf687277ba84158918bee7ab24b0684897.zip
Gazelle-61def2bf687277ba84158918bee7ab24b0684897.tar.gz
Gazelle-61def2bf687277ba84158918bee7ab24b0684897.tar.bz2
Empty commit
-rw-r--r--sections/torrents/download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/sections/torrents/download.php b/sections/torrents/download.php
index 3b24b44..624c8d4 100644
--- a/sections/torrents/download.php
+++ b/sections/torrents/download.php
@@ -184,7 +184,7 @@ $DB->query("
Torrents::set_snatch_update_time($UserID, Torrents::SNATCHED_UPDATE_AFTERDL);
list($Contents) = $DB->next_record(MYSQLI_NUM, false);
-$FileName = TorrentsDL::construct_file_name($Info['PlainArtists'], $Name, $Year, $Media, $Format, $Encoding, false, $DownloadAlt);
+$FileName = TorrentsDL::construct_file_name($Info['PlainArtists'], $Name, $Year, $Media, $Format, $Encoding, $TorrentID, $DownloadAlt);
if ($DownloadAlt) {
header('Content-Type: text/plain; charset=utf-8');