diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2012-08-10 02:06:27 +0200 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2012-08-10 02:06:27 +0200 |
| commit | c221294fb21e19f483972a4672636dc355b34888 (patch) | |
| tree | d77776e9c3ef09ea0b52010fc57685283219ad21 | |
| parent | aa6effbb0c597b8ac5c81df7d8c8a543173b53b6 (diff) | |
| download | forums-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
| -rw-r--r-- | phpBB/download/file.php | 2 |
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']); |
