aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-07-14 16:15:39 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-09-09 08:27:56 +0200
commit11b2c938c6c3a6a14465f04ed356fbd013276143 (patch)
tree322dc6cc8362ff7b8296f8495654af4483297b81 /phpBB/includes/functions_posting.php
parentc65f0d748ae3cef90e08ce2c700e65734392da45 (diff)
downloadforums-11b2c938c6c3a6a14465f04ed356fbd013276143.tar
forums-11b2c938c6c3a6a14465f04ed356fbd013276143.tar.gz
forums-11b2c938c6c3a6a14465f04ed356fbd013276143.tar.bz2
forums-11b2c938c6c3a6a14465f04ed356fbd013276143.tar.xz
forums-11b2c938c6c3a6a14465f04ed356fbd013276143.zip
[ticket/13904] Move form_upload to its own class and define type classes
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 f625555d49..4627ff0a9c 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->local_upload($local_storage, $local_filedata) : $upload->form_upload($form_name, $plupload);
+ $file = ($local) ? $upload->local_upload($local_storage, $local_filedata) : $upload->handle_upload('form', $form_name);
if ($file->init_error())
{