diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2009-09-13 15:04:21 +0000 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2009-09-13 15:04:21 +0000 |
commit | cb88671638b016b4454fef121cbe623ed3490638 (patch) | |
tree | d88583c150cf1effbe7642ee788e456ec367352e /phpBB/includes/message_parser.php | |
parent | 3b73584430bd88a655e6ec3cdca3ad56ded95b21 (diff) | |
download | forums-cb88671638b016b4454fef121cbe623ed3490638.tar forums-cb88671638b016b4454fef121cbe623ed3490638.tar.gz forums-cb88671638b016b4454fef121cbe623ed3490638.tar.bz2 forums-cb88671638b016b4454fef121cbe623ed3490638.tar.xz forums-cb88671638b016b4454fef121cbe623ed3490638.zip |
fix #51235 - regression from 9843 for #48265
Authorised by: AcydBurn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10142 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/message_parser.php')
-rw-r--r-- | phpBB/includes/message_parser.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php index 72c101f7a3..be753dd5ea 100644 --- a/phpBB/includes/message_parser.php +++ b/phpBB/includes/message_parser.php @@ -1510,6 +1510,8 @@ class parse_message extends bbcode_firstpass { $sql_ary['topic_id'] = $topic_id; } + set_config_count('upload_dir_size', $filedata['filesize'], true); + set_config_count('num_files', 1, true); } $db->sql_query('INSERT INTO ' . ATTACHMENTS_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary)); |