aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2012-09-01 07:05:29 -0700
committerNils Adermann <naderman@naderman.de>2012-09-01 07:05:29 -0700
commit790e64433d26da1e819c9eaa96ad812c402286db (patch)
tree6562aa47ce18c06eba1417f7e13ece9e918f9264
parent1128ff1e580361db7f7ecc72d496fdd347cbe0f2 (diff)
parentd908d932736775b0274564dbc6206babf64ba1be (diff)
downloadforums-790e64433d26da1e819c9eaa96ad812c402286db.tar
forums-790e64433d26da1e819c9eaa96ad812c402286db.tar.gz
forums-790e64433d26da1e819c9eaa96ad812c402286db.tar.bz2
forums-790e64433d26da1e819c9eaa96ad812c402286db.tar.xz
forums-790e64433d26da1e819c9eaa96ad812c402286db.zip
Merge pull request #921 from imkingdavid/ticket/10444
[ticket/10444] Do not default to the previous post edit reason.
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index a17578e343..736ba8feea 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"),