mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Merge branch '3.3.x'
This commit is contained in:
commit
6713cbd7ef
1 changed files with 6 additions and 0 deletions
|
@ -105,6 +105,12 @@ class report
|
|||
$reason_id = $this->request->variable('reason_id', 0);
|
||||
$report_text = $this->request->variable('report_text', '', true);
|
||||
|
||||
/**
|
||||
* Replace Emojis and other 4bit UTF-8 chars not allowed by MySQL to UCR/NCR.
|
||||
* Using their Numeric Character Reference's Hexadecimal notation.
|
||||
*/
|
||||
$report_text = utf8_encode_ucr($report_text);
|
||||
|
||||
$submit = $this->request->variable('submit', '');
|
||||
$cancel = $this->request->variable('cancel', '');
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue