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 5d8e1a1cc8..3a0a7c5886 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -320,7 +320,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');