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:
parent
8a47fd4120
commit
8d7336e57c
@ -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));
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user