mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@6442 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
dcdd47cb75
commit
9c83c919a2
1 changed files with 2 additions and 5 deletions
|
@ -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('');
|
||||||
|
|
Loading…
Add table
Reference in a new issue