mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
oops
git-svn-id: file:///svn/phpbb/trunk@6396 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a5a9f16c0d
commit
bab608a1b9
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ class dbal_mysql4 extends dbal
|
||||||
{
|
{
|
||||||
if (@mysql_select_db($this->dbname))
|
if (@mysql_select_db($this->dbname))
|
||||||
{
|
{
|
||||||
@mysql_query("SET NAMES 'utf8'");
|
@mysql_query("SET NAMES 'utf8'", $this->db_connect_id);
|
||||||
return $this->db_connect_id;
|
return $this->db_connect_id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@ class dbal_mysqli extends dbal
|
||||||
{
|
{
|
||||||
if (@mysqli_select_db($this->db_connect_id, $this->dbname))
|
if (@mysqli_select_db($this->db_connect_id, $this->dbname))
|
||||||
{
|
{
|
||||||
@mysqli_query("SET NAMES 'utf8'");
|
@mysqli_query($this->db_connect_id, "SET NAMES 'utf8'");
|
||||||
return $this->db_connect_id;
|
return $this->db_connect_id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue