mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-14 04:42:04 +02:00
Merge branch '3.3.x'
This commit is contained in:
commit
6713cbd7ef
@ -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…
x
Reference in New Issue
Block a user