1
0
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:
Marc Alexander
2015-06-02 00:29:03 +02:00
parent 57de896286
commit 2915647a54
2 changed files with 4 additions and 3 deletions

View File

@@ -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']]))
{