From c262c4addbb8d18fdd3a84d0a4b64dd9899320c0 Mon Sep 17 00:00:00 2001 From: David M Date: Sun, 29 Apr 2007 02:16:29 +0000 Subject: [PATCH] #10251 git-svn-id: file:///svn/phpbb/trunk@7425 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_posting.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);