From 8d7336e57cd910ca27a3f08ae4a921dca8c66ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Calvo?= <rubencm@gmail.com> Date: Tue, 8 Aug 2017 12:36:33 +0200 Subject: [PATCH] [ticket/15276] Fix code style PHPBB3-15276 --- phpBB/includes/functions_download.php | 1 - phpBB/phpbb/storage/file_info.php | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } }