-
Bug
-
Resolution: Fixed
-
Major
-
None
-
3.2.1
-
None
-
Windows 10, Apache/2.4.27 (Win64), PHP 5.6.31
Hi,
If I try add a emoji on Cell Phone or Desktop phpbb trown an error.
I reproduced this bug on phpbb.com right now.
It affects almost all text fields.
My workaround was add this line
$query = preg_replace('/[\x{10000}-\x{10FFFF}]/u', '?', $query); |
before
$this->query_result = ($cache && $cache_ttl) ? $cache->sql_load($query) : false; |
on \phpbb\db\driver\mysql.php
Please, let me know if you will fix it.
Thank you in advance.
Alessandro
- duplicates
-
PHPBB-15712 Inserting an emoji in PM subject field causes errors
- Closed
- is related to
-
PHPBB-15712 Inserting an emoji in PM subject field causes errors
- Closed