mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Merge 18a63b6d7d
into 2fce8aeb3e
This commit is contained in:
commit
30a50fc6da
1 changed files with 4 additions and 1 deletions
|
@ -336,7 +336,10 @@ class mysqli extends \phpbb\db\driver\mysql_base
|
|||
*/
|
||||
function sql_escape($msg)
|
||||
{
|
||||
return @mysqli_real_escape_string($this->db_connect_id, $msg);
|
||||
return @mysqli_real_escape_string(
|
||||
$this->db_connect_id,
|
||||
utf8_encode_ucr($msg)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue