aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/download.php')
-rw-r--r--phpBB/download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/download.php b/phpBB/download.php
index c1f28c080f..c24ea81425 100644
--- a/phpBB/download.php
+++ b/phpBB/download.php
@@ -294,7 +294,7 @@ function send_avatar_to_browser($file)
{
header('Pragma: public');
- $image_data = getimagesize($file_path);
+ $image_data = @getimagesize($file_path);
header('Content-Type: ' . image_type_to_mime_type($image_data[2]));
if (strpos(strtolower($browser), 'msie') !== false)