aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download/file.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-10-23 18:03:49 +0200
committerAndreas Fischer <bantu@phpbb.com>2010-10-23 18:06:46 +0200
commit0f49e529407e0b20610f980ff3cac47dcf141db1 (patch)
tree87312f1b4f2eb9614f6b95f740920d0a441a9b8a /phpBB/download/file.php
parentafda5e2073981927e4db9c699a5cd72e8df7ef51 (diff)
downloadforums-0f49e529407e0b20610f980ff3cac47dcf141db1.tar
forums-0f49e529407e0b20610f980ff3cac47dcf141db1.tar.gz
forums-0f49e529407e0b20610f980ff3cac47dcf141db1.tar.bz2
forums-0f49e529407e0b20610f980ff3cac47dcf141db1.tar.xz
forums-0f49e529407e0b20610f980ff3cac47dcf141db1.zip
[ticket/9627] Prefix function names with 'phpbb_'.
PHPBB3-9627
Diffstat (limited to 'phpBB/download/file.php')
-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 f5dd7c7d39..68a4afe03c 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -275,7 +275,7 @@ if ($thumbnail)
{
$attachment['physical_filename'] = 'thumb_' . $attachment['physical_filename'];
}
-else if (($display_cat == ATTACHMENT_CATEGORY_NONE/* || $display_cat == ATTACHMENT_CATEGORY_IMAGE*/) && !$attachment['is_orphan'] && !http_byte_range($attachment['filesize']))
+else if (($display_cat == ATTACHMENT_CATEGORY_NONE/* || $display_cat == ATTACHMENT_CATEGORY_IMAGE*/) && !$attachment['is_orphan'] && !phpbb_http_byte_range($attachment['filesize']))
{
// Update download count
$sql = 'UPDATE ' . ATTACHMENTS_TABLE . '