mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Compare commits
2 commits
30a50fc6da
...
795110c2e2
Author | SHA1 | Date | |
---|---|---|---|
|
795110c2e2 | ||
|
18a63b6d7d |
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)
|
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