mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10763] Use self when calling get_extension() in filespec class
PHPBB3-10763
This commit is contained in:
parent
54d96dfac7
commit
4ae0c78782
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class filespec
|
|||
$this->mimetype = 'application/octetstream';
|
||||
}
|
||||
|
||||
$this->extension = strtolower(filespec::get_extension($this->realname));
|
||||
$this->extension = strtolower(self::get_extension($this->realname));
|
||||
|
||||
// Try to get real filesize from temporary folder (not always working) ;)
|
||||
$this->filesize = (@filesize($this->filename)) ? @filesize($this->filename) : $this->filesize;
|
||||
|
|
Loading…
Add table
Reference in a new issue