diff options
author | Bruno Ais <brunoaiss@gmail.com> | 2013-07-15 20:08:17 +0100 |
---|---|---|
committer | Bruno Ais <brunoaiss@gmail.com> | 2013-07-15 20:08:17 +0100 |
commit | dde9a1fb27e6db3c1b4cd41d8848496a3ef8d363 (patch) | |
tree | 28012942b9665c7f10e6031f2041fb1e5e2d727c /phpBB/includes/functions_posting.php | |
parent | f96f2a9e23b41106c6a8ed71ad3538141c648c2f (diff) | |
download | forums-dde9a1fb27e6db3c1b4cd41d8848496a3ef8d363.tar forums-dde9a1fb27e6db3c1b4cd41d8848496a3ef8d363.tar.gz forums-dde9a1fb27e6db3c1b4cd41d8848496a3ef8d363.tar.bz2 forums-dde9a1fb27e6db3c1b4cd41d8848496a3ef8d363.tar.xz forums-dde9a1fb27e6db3c1b4cd41d8848496a3ef8d363.zip |
[ticket/11639] Added an useful comment.
sub-task of ticket PHPBB3-11635:
find and fix all bypasses of generate_text_for_*
PHPBB3-11639
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index d277ef06a3..49fbe92256 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -1104,9 +1104,10 @@ function topic_review($topic_id, $forum_id, $mode = 'topic_review', $cur_post_id $decoded_message = bbcode_nl2br($decoded_message); } + $parse_flags = ($row['bbcode_bitfield'] ? OPTION_FLAG_BBCODE : 0); $parse_flags |= ($row['enable_smilies'] ? OPTION_FLAG_SMILIES : 0); - + // Do not censor text because it has already been censored before $message = generate_text_for_display($message, $row['bbcode_uid'], $row['bbcode_bitfield'], $parse_flags , false); unset($parse_flags); |