mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/10763] Use self when calling get_extension() in filespec class
PHPBB3-10763
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user