diff options
author | Andreas Fischer <bantu@phpbb.com> | 2014-10-04 00:41:25 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2014-10-04 00:41:25 +0200 |
commit | 682527f509325f09bc0f6d56adf8cd06598a149c (patch) | |
tree | 040a074009f6252361a7cb90a1d9fd02c086a90d | |
parent | 240ff277070844a11bc541c750818af568960d20 (diff) | |
parent | 6400902a0122c4b61d42600d5adcf58bb2ecf037 (diff) | |
download | forums-682527f509325f09bc0f6d56adf8cd06598a149c.tar forums-682527f509325f09bc0f6d56adf8cd06598a149c.tar.gz forums-682527f509325f09bc0f6d56adf8cd06598a149c.tar.bz2 forums-682527f509325f09bc0f6d56adf8cd06598a149c.tar.xz forums-682527f509325f09bc0f6d56adf8cd06598a149c.zip |
Merge pull request #3018 from Senky/ticket/13125
[ticket/13125] Uploaded avatars are not displayed
* Senky/ticket/13125:
[ticket/13125] $user->browser to $browser
-rw-r--r-- | phpBB/includes/functions_download.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_download.php b/phpBB/includes/functions_download.php index 704939b176..fbeae50f55 100644 --- a/phpBB/includes/functions_download.php +++ b/phpBB/includes/functions_download.php @@ -50,7 +50,7 @@ function send_avatar_to_browser($file, $browser) $image_data = @getimagesize($file_path); header('Content-Type: ' . image_type_to_mime_type($image_data[2])); - if ((strpos(strtolower($user->browser), 'msie') !== false) && !phpbb_is_greater_ie_version($browser, 7)) + if ((strpos(strtolower($browser), 'msie') !== false) && !phpbb_is_greater_ie_version($browser, 7)) { header('Content-Disposition: attachment; ' . header_filename($file)); |