aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-08-10 02:06:27 +0200
committerAndreas Fischer <bantu@phpbb.com>2012-08-10 02:06:27 +0200
commitc221294fb21e19f483972a4672636dc355b34888 (patch)
treed77776e9c3ef09ea0b52010fc57685283219ad21 /phpBB/download
parentaa6effbb0c597b8ac5c81df7d8c8a543173b53b6 (diff)
downloadforums-c221294fb21e19f483972a4672636dc355b34888.tar
forums-c221294fb21e19f483972a4672636dc355b34888.tar.gz
forums-c221294fb21e19f483972a4672636dc355b34888.tar.bz2
forums-c221294fb21e19f483972a4672636dc355b34888.tar.xz
forums-c221294fb21e19f483972a4672636dc355b34888.zip
[feature/attach-dl] Remove commented statement.
PHPBB3-11042
Diffstat (limited to 'phpBB/download')
-rw-r--r--phpBB/download/file.php2
1 files changed, 1 insertions, 1 deletions
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']);