aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 73c8f94188..8580debe7e 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -343,7 +343,7 @@ function send_avatar_to_browser($file, $browser)
header("Content-Length: $size");
}
- if (@readfile($file_path) === false)
+ if (@readfile($file_path) == false)
{
$fp = @fopen($file_path, 'rb');