aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/files/types/remote.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/files/types/remote.php b/phpBB/phpbb/files/types/remote.php
index c70f1557e7..04263f9cba 100644
--- a/phpBB/phpbb/files/types/remote.php
+++ b/phpBB/phpbb/files/types/remote.php
@@ -234,7 +234,7 @@ class remote extends base
/** @var filespec $file */
$file = $this->factory->get('filespec')
->set_upload_ary($upload_ary)
- ->set_upload_namespace($this);
+ ->set_upload_namespace($this->upload);
$this->upload->common_checks($file);
return $file;