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
This commit is contained in:
Joas Schilling 2009-09-13 15:04:21 +00:00
parent 3b73584430
commit cb88671638

View file

@ -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));