From ff6fdd67be8d854ce995948538312808399cca95 Mon Sep 17 00:00:00 2001 From: Ludovic Arnaud Date: Thu, 17 Apr 2003 23:47:26 +0000 Subject: More bbcode fixes git-svn-id: file:///svn/phpbb/trunk@3879 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'phpBB/posting.php') 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. ;) -- cgit v1.2.1