From c221294fb21e19f483972a4672636dc355b34888 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Fri, 10 Aug 2012 02:06:27 +0200 Subject: [PATCH] [feature/attach-dl] Remove commented statement. PHPBB3-11042 --- phpBB/download/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/download/file.php b/phpBB/download/file.php index e710928bec..5bb7770bdf 100644 --- a/phpBB/download/file.php +++ b/phpBB/download/file.php @@ -311,7 +311,7 @@ else if ($download_id) { $attachment['physical_filename'] = 'thumb_' . $attachment['physical_filename']; } - else if (($display_cat == ATTACHMENT_CATEGORY_NONE/* || $display_cat == ATTACHMENT_CATEGORY_IMAGE*/) && !$attachment['is_orphan'] && !phpbb_http_byte_range($attachment['filesize'])) + else if ($display_cat == ATTACHMENT_CATEGORY_NONE && !$attachment['is_orphan'] && !phpbb_http_byte_range($attachment['filesize'])) { // Update download count phpbb_increment_downloads($db, $attachment['attach_id']);