From 7dbfbde723e06419fba8d029db3962fc476fadbe Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Thu, 23 Aug 2001 15:55:35 +0000 Subject: [PATCH] Fixed title for quoted replies git-svn-id: file:///svn/phpbb/trunk@925 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/phpBB/posting.php b/phpBB/posting.php index ef7a600571..4882704f5c 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1172,8 +1172,12 @@ if($mode == "newtopic") { $post_a = $lang['Post_a_new_topic']; } -else if($mode == "reply") +else if($mode == "reply" || $mode == "quote") { + // + // Set mode to reply + // + $mode = "reply"; $post_a = $lang['Post_a_reply']; } else if($mode == "editpost") @@ -1495,13 +1499,8 @@ if($mode == "newtopic") { $hidden_form_fields .= ""; } -else if($mode == "reply" || $mode == "quote") +else if($mode == "reply") { - // - // Reset mode to reply if quote is in effect - // to allow proper handling by submit/preview - // - $mode = "reply"; $hidden_form_fields .= ""; } else if($mode == "editpost")