diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-05-31 14:47:57 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-09-09 08:27:35 +0200 |
commit | 0cbb713cc2a6249cb12507db7d0fa78ce8663ae6 (patch) | |
tree | 77e3ca909b083376ad20eda4c356e917b935de70 /phpBB/includes/functions_posting.php | |
parent | 891ffb8ac76637f1ee84c16464ec6ad654131126 (diff) | |
download | forums-0cbb713cc2a6249cb12507db7d0fa78ce8663ae6.tar forums-0cbb713cc2a6249cb12507db7d0fa78ce8663ae6.tar.gz forums-0cbb713cc2a6249cb12507db7d0fa78ce8663ae6.tar.bz2 forums-0cbb713cc2a6249cb12507db7d0fa78ce8663ae6.tar.xz forums-0cbb713cc2a6249cb12507db7d0fa78ce8663ae6.zip |
[ticket/13904] Fix uploading for use with new filespec class
PHPBB3-13904
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index e4520d7f03..e91f8bb56d 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -435,7 +435,7 @@ function upload_attachment($form_name, $forum_id, $local = false, $local_storage $file = ($local) ? $upload->local_upload($local_storage, $local_filedata, $mimetype_guesser) : $upload->form_upload($form_name, $mimetype_guesser, $plupload); - if ($file->init_error) + if ($file->init_error()) { $filedata['post_attach'] = false; return $filedata; |