diff --git a/phpBB/includes/functions_download.php b/phpBB/includes/functions_download.php index 830da2b90d..b15b28ced8 100644 --- a/phpBB/includes/functions_download.php +++ b/phpBB/includes/functions_download.php @@ -57,7 +57,6 @@ function send_avatar_to_browser($file, $browser) // Just dont send this header } - if ((strpos(strtolower($browser), 'msie') !== false) && !phpbb_is_greater_ie_version($browser, 7)) { header('Content-Disposition: attachment; ' . header_filename($file)); diff --git a/phpBB/phpbb/storage/file_info.php b/phpBB/phpbb/storage/file_info.php index c0b5256f33..04a6eb7e99 100644 --- a/phpBB/phpbb/storage/file_info.php +++ b/phpBB/phpbb/storage/file_info.php @@ -35,7 +35,8 @@ class file_info { $this->properties = []; - foreach($this->adapter->file_properties($this->path) as $name => $value) { + foreach ($this->adapter->file_properties($this->path) as $name => $value) + { $this->properties[$name] = $value; } }