diff options
author | David M <davidmj@users.sourceforge.net> | 2007-04-29 02:16:29 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2007-04-29 02:16:29 +0000 |
commit | c262c4addbb8d18fdd3a84d0a4b64dd9899320c0 (patch) | |
tree | 75928e533425bd5f4ff593d33310256317df1937 /phpBB/includes | |
parent | 87956e71a435f39a29ff391bc22da0c318f327f5 (diff) | |
download | forums-c262c4addbb8d18fdd3a84d0a4b64dd9899320c0.tar forums-c262c4addbb8d18fdd3a84d0a4b64dd9899320c0.tar.gz forums-c262c4addbb8d18fdd3a84d0a4b64dd9899320c0.tar.bz2 forums-c262c4addbb8d18fdd3a84d0a4b64dd9899320c0.tar.xz forums-c262c4addbb8d18fdd3a84d0a4b64dd9899320c0.zip |
#10251
git-svn-id: file:///svn/phpbb/trunk@7425 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-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 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", '<br />', $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", '<br />', $message); + $message = smiley_text($message, !$row['enable_smilies']); $post_subject = censor_text($post_subject); |