mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/15276] Fix file_info errors
PHPBB3-15276
This commit is contained in:
parent
9e018e7c12
commit
006990f1d0
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ class file_info
|
|||
|
||||
public function get($name)
|
||||
{
|
||||
$this->fill_properties();
|
||||
$this->fill_properties($this->path);
|
||||
|
||||
if (!isset($this->properties[$name]))
|
||||
{
|
||||
|
@ -52,7 +52,7 @@ class file_info
|
|||
throw new not_implemented();
|
||||
}
|
||||
|
||||
$this->properties[$name] = call_user_func($this->adapter, 'file_' . $name);
|
||||
$this->properties[$name] = call_user_func([$this->adapter, 'file_' . $name], $this->path);
|
||||
}
|
||||
|
||||
return $this->properties[$name];
|
||||
|
|
Loading…
Add table
Reference in a new issue