aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-07-12 16:02:58 -0400
committerDavid King <imkingdavid@gmail.com>2012-07-12 16:02:58 -0400
commitd908d932736775b0274564dbc6206babf64ba1be (patch)
tree06f9230187838d19794ce27981bd8310ea3cb081
parentb45bc27339d03016d47c0247aede8da5ce38a4ee (diff)
downloadforums-d908d932736775b0274564dbc6206babf64ba1be.tar
forums-d908d932736775b0274564dbc6206babf64ba1be.tar.gz
forums-d908d932736775b0274564dbc6206babf64ba1be.tar.bz2
forums-d908d932736775b0274564dbc6206babf64ba1be.tar.xz
forums-d908d932736775b0274564dbc6206babf64ba1be.zip
[ticket/10444] Do not default to the previous post edit reason.
PHPBB3-10444
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 7f57f693af..558520dbaa 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -1376,7 +1376,7 @@ $template->assign_vars(array(
'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"),