From 87229e1a779db0118b64c538dd2d4d0b961f9885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Calvo?= Date: Tue, 15 Aug 2017 14:37:10 +0200 Subject: [PATCH] [ticket/15276] Fix typo PHPBB3-15276 --- phpBB/includes/functions_download.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions_download.php b/phpBB/includes/functions_download.php index eea64c3ab2..1503510fcf 100644 --- a/phpBB/includes/functions_download.php +++ b/phpBB/includes/functions_download.php @@ -64,7 +64,7 @@ function send_avatar_to_browser($file, $browser) } try { - header('Content-Type: ' . $file_info->size); + header('Content-Length: ' . $file_info->size); } catch (\phpbb\storage\exception\not_implemented $e) { // Just dont send this header }