[feature/attach-dl] Remove commented statement.

PHPBB3-11042
This commit is contained in:
Andreas Fischer 2012-08-10 02:06:27 +02:00
parent aa6effbb0c
commit c221294fb2

View file

@ -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']);