From ad53564f1944d94a981d8eb262e1970d03d96cee Mon Sep 17 00:00:00 2001 From: Git Date: Wed, 11 Dec 2013 08:00:59 +0000 Subject: [PATCH] Empty commit --- docs/CHANGES.txt | 3 +++ sections/forums/search.php | 3 ++- sections/upload/upload_handle.php | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index 646e0cb3..e5cb0d2f 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -1,5 +1,8 @@ CHANGE LOG +2013-12-10 by alderaan +Fix bug that would assign the "Log" flag to torrents that shouldn't have it + 2013-12-10 by alderaan Clear cache key "request_artists_$RequestID" in two missed places diff --git a/sections/forums/search.php b/sections/forums/search.php index 452793f4..fc9dfb93 100644 --- a/sections/forums/search.php +++ b/sections/forums/search.php @@ -243,7 +243,8 @@ f.Name, p.AddedTime, p.ID, - p.Body + p.Body, + t.CreatedTime FROM forums_posts AS p JOIN forums_topics AS t ON t.ID=p.TopicID JOIN forums AS f ON f.ID=t.ForumID diff --git a/sections/upload/upload_handle.php b/sections/upload/upload_handle.php index d07db04d..fe7ee6e5 100644 --- a/sections/upload/upload_handle.php +++ b/sections/upload/upload_handle.php @@ -395,7 +395,7 @@ foreach ($FileList as $File) { list($Size, $Name) = $File; // add +log to encoding - if ($T['Encoding'] == "'Lossless'" && !in_array($Name, $IgnoredLogFileNames)) { + if ($T['Encoding'] == "'Lossless'" && !in_array($Name, $IgnoredLogFileNames) && substr($Name, -4, 4) === '.log') { $HasLog = 1; } // add +cue to encoding