Skip to content

Commit

Permalink
Merge pull request phpbb#921 from imkingdavid/ticket/10444
Browse files Browse the repository at this point in the history
[ticket/10444] Do not default to the previous post edit reason.
  • Loading branch information
naderman committed Sep 1, 2012
2 parents 1128ff1 + d908d93 commit 790e644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpBB/posting.php
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@
'POST_DATE' => ($post_data['post_time']) ? $user->format_date($post_data['post_time']) : '',
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',
'TOPIC_TIME_LIMIT' => (int) $post_data['topic_time_limit'],
'EDIT_REASON' => $post_data['post_edit_reason'],
'EDIT_REASON' => $request->variable('edit_reason', ''),
'U_VIEW_FORUM' => append_sid("{$phpbb_root_path}viewforum.$phpEx", "f=$forum_id"),
'U_VIEW_TOPIC' => ($mode != 'post') ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;t=$topic_id") : '',
'U_PROGRESS_BAR' => append_sid("{$phpbb_root_path}posting.$phpEx", "f=$forum_id&amp;mode=popup"),
Expand Down

0 comments on commit 790e644

Please sign in to comment.