diff options
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 638f08786e..e093d59139 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -699,10 +699,12 @@ if ($preview) } // Decode text for message display -decode_text($post_text, $message_parser->bbcode_uid); +$bbcode_uid = ($mode == 'quote' && !$preview) ? $row['bbcode_uid'] : $message_parser->bbcode_uid; + +decode_text($post_text, $bbcode_uid); if ($subject) { - decode_text($subject, $message_parser->bbcode_uid); + decode_text($subject, $bbcode_uid); } // Save us some processing time. ;) |
