1
0
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:
David M
2006-10-05 00:55:27 +00:00
parent dcdd47cb75
commit 9c83c919a2

View File

@@ -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('');