aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-04-17 23:47:26 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-04-17 23:47:26 +0000
commitff6fdd67be8d854ce995948538312808399cca95 (patch)
tree65d75cf5ca86b1f2380c58da3fe14d86d0aff290 /phpBB/posting.php
parenta79524cb337ca5e467e5a1a9a5e7f8d756698f98 (diff)
downloadforums-ff6fdd67be8d854ce995948538312808399cca95.tar
forums-ff6fdd67be8d854ce995948538312808399cca95.tar.gz
forums-ff6fdd67be8d854ce995948538312808399cca95.tar.bz2
forums-ff6fdd67be8d854ce995948538312808399cca95.tar.xz
forums-ff6fdd67be8d854ce995948538312808399cca95.zip
More bbcode fixes
git-svn-id: file:///svn/phpbb/trunk@3879 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php6
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. ;)