1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 17:56:52 +02:00
Thanks APTX


git-svn-id: file:///svn/phpbb/trunk@7537 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2007-05-11 23:29:59 +00:00
parent a1195a2752
commit 6244422da9
2 changed files with 7 additions and 1 deletions

View File

@@ -951,6 +951,12 @@ if ($submit || $preview || $refresh)
'topic_approved' => (isset($post_data['topic_approved'])) ? $post_data['topic_approved'] : false,
'post_approved' => (isset($post_data['post_approved'])) ? $post_data['post_approved'] : false,
);
if ($mode == 'edit')
{
$data['topic_replies_real'] = $post_data['topic_replies_real'];
}
unset($message_parser);
$redirect_url = submit_post($mode, $post_data['post_subject'], $post_data['username'], $post_data['topic_type'], $poll, $data, $update_message);