aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/convertors/functions_phpbb20.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2010-09-12 15:01:17 +0200
committerIgor Wiedler <igor@wiedler.ch>2010-09-12 15:01:17 +0200
commit3e8d45910dce4f6e6dcdf8103bda8c3ce1b5b582 (patch)
tree3c9514c745f19dd2874cfd01978e4654aaa084b1 /phpBB/install/convertors/functions_phpbb20.php
parentc0d645c319b0bc7c83181d153c026cba052f9306 (diff)
parent161be96c661651edad16ccfd946c530626c8aacb (diff)
downloadforums-3e8d45910dce4f6e6dcdf8103bda8c3ce1b5b582.tar
forums-3e8d45910dce4f6e6dcdf8103bda8c3ce1b5b582.tar.gz
forums-3e8d45910dce4f6e6dcdf8103bda8c3ce1b5b582.tar.bz2
forums-3e8d45910dce4f6e6dcdf8103bda8c3ce1b5b582.tar.xz
forums-3e8d45910dce4f6e6dcdf8103bda8c3ce1b5b582.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/9754] Populate S_USER_POSTED variable with correct value in search.php [ticket/9748] Replace <br /> before converting < and > to their entities. [ticket/9503] Show 'No subject specified' in 'Posts awaiting approval'.
Diffstat (limited to 'phpBB/install/convertors/functions_phpbb20.php')
-rw-r--r--phpBB/install/convertors/functions_phpbb20.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/convertors/functions_phpbb20.php b/phpBB/install/convertors/functions_phpbb20.php
index b80c7673e3..78224dd5da 100644
--- a/phpBB/install/convertors/functions_phpbb20.php
+++ b/phpBB/install/convertors/functions_phpbb20.php
@@ -1239,9 +1239,9 @@ function phpbb_prepare_message($message)
// Already the new user id ;)
$user_id = $convert->row['poster_id'];
+ $message = str_replace('<br />', "\n", $message);
$message = str_replace('<', '&lt;', $message);
$message = str_replace('>', '&gt;', $message);
- $message = str_replace('<br />', "\n", $message);
// make the post UTF-8
$message = phpbb_set_encoding($message);