1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +02:00

[ticket/13904] Fix tests after changes to factory

PHPBB3-13904
This commit is contained in:
Marc Alexander
2015-09-09 12:58:22 +02:00
parent 5f91f1cad8
commit 40e614f564
5 changed files with 11 additions and 11 deletions

View File

@@ -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;