mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.3.x'
This commit is contained in:
commit
912b4ae309
1 changed files with 6 additions and 0 deletions
|
@ -736,6 +736,12 @@ if ($save && $user->data['is_registered'] && $auth->acl_get('u_savedrafts') && (
|
||||||
$subject = (!$subject && $mode != 'post') ? $post_data['topic_title'] : $subject;
|
$subject = (!$subject && $mode != 'post') ? $post_data['topic_title'] : $subject;
|
||||||
$message = $request->variable('message', '', true);
|
$message = $request->variable('message', '', true);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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);
|
||||||
|
|
||||||
if ($subject && $message)
|
if ($subject && $message)
|
||||||
{
|
{
|
||||||
if (confirm_box(true))
|
if (confirm_box(true))
|
||||||
|
|
Loading…
Add table
Reference in a new issue