mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
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'.
This commit is contained in:
@@ -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('<', '<', $message);
|
||||
$message = str_replace('>', '>', $message);
|
||||
$message = str_replace('<br />', "\n", $message);
|
||||
|
||||
// make the post UTF-8
|
||||
$message = phpbb_set_encoding($message);
|
||||
|
Reference in New Issue
Block a user