aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-09-09 12:58:22 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-09-09 12:58:22 +0200
commit40e614f56436447dffd272351e23b79c2da9fa3f (patch)
treefc534b430576dd978d3a13c5b2f3e1ca13c33056 /phpBB/phpbb/files
parent[ticket/13904] Minor coding style fixes (diff)
downloadphpbb-40e614f56436447dffd272351e23b79c2da9fa3f.tar.gz
phpbb-40e614f56436447dffd272351e23b79c2da9fa3f.tar.bz2
phpbb-40e614f56436447dffd272351e23b79c2da9fa3f.zip
[ticket/13904] Fix tests after changes to factory
PHPBB3-13904
Diffstat (limited to 'phpBB/phpbb/files')
-rw-r--r--phpBB/phpbb/files/upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/files/upload.php b/phpBB/phpbb/files/upload.php
index 45ff1c372f..e011e714e5 100644
--- a/phpBB/phpbb/files/upload.php
+++ b/phpBB/phpbb/files/upload.php
@@ -197,7 +197,7 @@ class upload
{
$args = func_get_args();
array_shift($args);
- $type_class = $this->factory->get('types.' . $type)
+ $type_class = $this->factory->get($type)
->set_upload($this);
return (is_object($type_class)) ? call_user_func_array(array($type_class, 'upload'), $args) : false;