diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2004-10-30 17:04:44 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2004-10-30 17:04:44 +0000 |
commit | 34a954eaf1b9028577717eb26a9250969aac0fcc (patch) | |
tree | c7b676280f7eaaf1a3b5fe730ecf92407c4786e2 | |
parent | cb3424716a340562085ee7f66eadccb6f887eb9d (diff) | |
download | forums-34a954eaf1b9028577717eb26a9250969aac0fcc.tar forums-34a954eaf1b9028577717eb26a9250969aac0fcc.tar.gz forums-34a954eaf1b9028577717eb26a9250969aac0fcc.tar.bz2 forums-34a954eaf1b9028577717eb26a9250969aac0fcc.tar.xz forums-34a954eaf1b9028577717eb26a9250969aac0fcc.zip |
fix subject bug
git-svn-id: file:///svn/phpbb/trunk@5011 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/posting.php | 4 |
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) { |