aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/files/filespec.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-06-02 00:29:03 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-09-09 08:27:42 +0200
commit2915647a546b4c0733a0e1a0cdc924272e41615b (patch)
tree07013f75678fd82a98250875acf2f70239a32856 /phpBB/phpbb/files/filespec.php
parent57de89628622a80fcb386c0d95724fe4c6148929 (diff)
downloadforums-2915647a546b4c0733a0e1a0cdc924272e41615b.tar
forums-2915647a546b4c0733a0e1a0cdc924272e41615b.tar.gz
forums-2915647a546b4c0733a0e1a0cdc924272e41615b.tar.bz2
forums-2915647a546b4c0733a0e1a0cdc924272e41615b.tar.xz
forums-2915647a546b4c0733a0e1a0cdc924272e41615b.zip
[ticket/13904] Fix filespec tests
PHPBB3-13904
Diffstat (limited to 'phpBB/phpbb/files/filespec.php')
-rw-r--r--phpBB/phpbb/files/filespec.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/files/filespec.php b/phpBB/phpbb/files/filespec.php
index 3f50488e7c..2fdba2d793 100644
--- a/phpBB/phpbb/files/filespec.php
+++ b/phpBB/phpbb/files/filespec.php
@@ -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']]))
{