From: Joas S. <nic...@ph...> - 2009-09-13 15:05:10
|
Author: nickvergessen Date: Sun Sep 13 16:04:21 2009 New Revision: 10142 Log: fix #51235 - regression from 9843 for #48265 Authorised by: AcydBurn Modified: branches/phpBB-3_0_0/phpBB/includes/message_parser.php Modified: branches/phpBB-3_0_0/phpBB/includes/message_parser.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/includes/message_parser.php (original) --- branches/phpBB-3_0_0/phpBB/includes/message_parser.php Sun Sep 13 16:04:21 2009 *************** *** 1510,1515 **** --- 1510,1517 ---- { $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)); |