aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
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/includes/functions_posting.php
parent5f91f1cad85eaf7f8dc62a1a140605a46431496f (diff)
downloadforums-40e614f56436447dffd272351e23b79c2da9fa3f.tar
forums-40e614f56436447dffd272351e23b79c2da9fa3f.tar.gz
forums-40e614f56436447dffd272351e23b79c2da9fa3f.tar.bz2
forums-40e614f56436447dffd272351e23b79c2da9fa3f.tar.xz
forums-40e614f56436447dffd272351e23b79c2da9fa3f.zip
[ticket/13904] Fix tests after changes to factory
PHPBB3-13904
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 378d14d14d..cd7c9a82f7 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -433,7 +433,7 @@ function upload_attachment($form_name, $forum_id, $local = false, $local_storage
$upload->set_allowed_extensions(array_keys($extensions['_allowed_']));
/** @var \phpbb\files\filespec $file */
- $file = ($local) ? $upload->handle_upload('local', $local_storage, $local_filedata) : $upload->handle_upload('form', $form_name);
+ $file = ($local) ? $upload->handle_upload('files.types.local', $local_storage, $local_filedata) : $upload->handle_upload('files.types.form', $form_name);
if ($file->init_error())
{