mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
Merge branch '3.3.x'
This commit is contained in:
commit
d588a4baa8
1 changed files with 6 additions and 0 deletions
|
@ -457,6 +457,12 @@ function split_topic($action, $topic_id, $to_forum_id, $subject)
|
||||||
$post_info = $post_info[$post_id];
|
$post_info = $post_info[$post_id];
|
||||||
$subject = trim($subject);
|
$subject = trim($subject);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Replace Emojis and other 4bit UTF-8 chars not allowed by MySQL to UCR/NCR.
|
||||||
|
* Using their Numeric Character Reference's Hexadecimal notation.
|
||||||
|
*/
|
||||||
|
$subject = utf8_encode_ucr($subject);
|
||||||
|
|
||||||
// Make some tests
|
// Make some tests
|
||||||
if (!$subject)
|
if (!$subject)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue