mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-29 21:10:31 +02:00
git-svn-id: file:///svn/phpbb/trunk@6442 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -48,11 +48,8 @@ class dbal_mysqli extends dbal
|
|||||||
|
|
||||||
if ($this->db_connect_id && $this->dbname != '')
|
if ($this->db_connect_id && $this->dbname != '')
|
||||||
{
|
{
|
||||||
if (@mysqli_select_db($this->db_connect_id, $this->dbname))
|
@mysqli_query($this->db_connect_id, "SET NAMES 'utf8'");
|
||||||
{
|
return $this->db_connect_id;
|
||||||
@mysqli_query($this->db_connect_id, "SET NAMES 'utf8'");
|
|
||||||
return $this->db_connect_id;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->sql_error('');
|
return $this->sql_error('');
|
||||||
|
Reference in New Issue
Block a user