1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-08 18:05:17 +02:00

[ticket/15276] Fix code style

PHPBB3-15276
This commit is contained in:
Rubén Calvo 2017-08-08 12:36:33 +02:00
parent 8a47fd4120
commit 8d7336e57c
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -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;
}
}