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