aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorBruno Ais <brunoaiss@gmail.com>2013-07-15 20:09:59 +0100
committerBruno Ais <brunoaiss@gmail.com>2013-07-15 20:09:59 +0100
commit5f19ca6a6f3ad6641954c58c44ef0c94d1609e5a (patch)
tree5df64700ec226b8ae1c93bce523c682d8a8c93e4 /phpBB/includes/functions_posting.php
parentdde9a1fb27e6db3c1b4cd41d8848496a3ef8d363 (diff)
downloadforums-5f19ca6a6f3ad6641954c58c44ef0c94d1609e5a.tar
forums-5f19ca6a6f3ad6641954c58c44ef0c94d1609e5a.tar.gz
forums-5f19ca6a6f3ad6641954c58c44ef0c94d1609e5a.tar.bz2
forums-5f19ca6a6f3ad6641954c58c44ef0c94d1609e5a.tar.xz
forums-5f19ca6a6f3ad6641954c58c44ef0c94d1609e5a.zip
[ticket/11639] Whitespace fixing
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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 49fbe92256..ad75ed1079 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -1104,12 +1104,12 @@ 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);
if (!empty($attachments[$row['post_id']]))