aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-02-09 14:31:17 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-02-09 14:31:17 +0000
commit5e3afe73ecfbae4e9b2e134e8e617f843da5be90 (patch)
tree512d101ebc64fa3c85e54d6180a42b6b346173a9 /phpBB/includes/functions_posting.php
parentffb28e03aefcd6ae88ef68448cd7b313c1c77722 (diff)
downloadforums-5e3afe73ecfbae4e9b2e134e8e617f843da5be90.tar
forums-5e3afe73ecfbae4e9b2e134e8e617f843da5be90.tar.gz
forums-5e3afe73ecfbae4e9b2e134e8e617f843da5be90.tar.bz2
forums-5e3afe73ecfbae4e9b2e134e8e617f843da5be90.tar.xz
forums-5e3afe73ecfbae4e9b2e134e8e617f843da5be90.zip
those were missing
git-svn-id: file:///svn/phpbb/trunk@6977 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index f138802e40..eb03143aa1 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -311,7 +311,7 @@ function posting_gen_topic_types($forum_id, $cur_topic_type = POST_NORMAL)
* Upload Attachment - filedata is generated here
* Uses upload class
*/
-function upload_attachment($form_name, $forum_id, $local = false, $local_storage = '', $is_message = false)
+function upload_attachment($form_name, $forum_id, $local = false, $local_storage = '', $is_message = false, $local_filedata = false)
{
global $auth, $user, $config, $db, $cache;
global $phpbb_root_path, $phpEx;
@@ -341,7 +341,7 @@ function upload_attachment($form_name, $forum_id, $local = false, $local_storage
$extensions = $cache->obtain_attach_extensions((($is_message) ? false : (int) $forum_id));
$upload->set_allowed_extensions(array_keys($extensions['_allowed_']));
- $file = ($local) ? $upload->local_upload($local_storage) : $upload->form_upload($form_name);
+ $file = ($local) ? $upload->local_upload($local_storage, $local_filedata) : $upload->form_upload($form_name);
if ($file->init_error)
{