diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index c5eb47a6ac..afacb6e85c 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -955,7 +955,6 @@ function topic_review($topic_id, $forum_id, $mode = 'topic_review', $cur_post_id $poster_id = $row['user_id']; $post_subject = $row['post_subject']; $message = censor_text($row['post_text']); - $message = str_replace("\n", '
', $message); $decoded_message = false; @@ -973,6 +972,8 @@ function topic_review($topic_id, $forum_id, $mode = 'topic_review', $cur_post_id $bbcode->bbcode_second_pass($message, $row['bbcode_uid'], $row['bbcode_bitfield']); } + $message = str_replace("\n", '
', $message); + $message = smiley_text($message, !$row['enable_smilies']); $post_subject = censor_text($post_subject);