mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/13904] Fix filespec tests
PHPBB3-13904
This commit is contained in:
@@ -426,7 +426,7 @@ class filespec
|
||||
$this->height = $this->image_info['height'];
|
||||
|
||||
// Check image type
|
||||
$types = \fileupload::image_types();
|
||||
$types = upload::image_types();
|
||||
|
||||
if (!isset($types[$this->image_info['type']]) || !in_array($this->extension, $types[$this->image_info['type']]))
|
||||
{
|
||||
|
Reference in New Issue
Block a user