aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/posting.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 343fdf6733..974d2b7426 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -494,7 +494,7 @@ if ($load && $drafts)
if ($submit || $preview || $refresh)
{
$topic_cur_post_id = request_var('topic_cur_post_id', 0);
- $subject = request_var('subject', '');
+ $subject = preg_replace('#&(\#[0-9]+;)#', '&\1', request_var('subject', ''));
if (strcmp($subject, strtoupper($subject)) == 0 && $subject)
{
@@ -602,7 +602,7 @@ if ($submit || $preview || $refresh)
// Check checksum ... don't re-parse message if the same
$update_message = ($mode != 'edit' || $message_md5 != $post_checksum || $status_switch) ? true : false;
-
+
// Parse message
if ($update_message)
{