aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-11-21 15:44:44 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-11-21 15:44:44 +0000
commit5be570b1f06f342a7f217679d102cdb7724905cf (patch)
tree663012596ca1cff30f923fda3c947b38e9e99375 /phpBB
parent74a08d9a7ba0a659c49a44a41b7455a86342eaf9 (diff)
downloadforums-5be570b1f06f342a7f217679d102cdb7724905cf.tar
forums-5be570b1f06f342a7f217679d102cdb7724905cf.tar.gz
forums-5be570b1f06f342a7f217679d102cdb7724905cf.tar.bz2
forums-5be570b1f06f342a7f217679d102cdb7724905cf.tar.xz
forums-5be570b1f06f342a7f217679d102cdb7724905cf.zip
should have been fread.
git-svn-id: file:///svn/phpbb/trunk@6627 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/download.php b/phpBB/download.php
index d3f600abdb..790938a7d4 100644
--- a/phpBB/download.php
+++ b/phpBB/download.php
@@ -254,7 +254,7 @@ function send_file_to_browser($attachment, $upload_dir, $category)
{
while (!feof($fp))
{
- echo fgets($fp, 8192);
+ echo fread($fp, 8192);
}
fclose($fp);
}