mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-22 01:21:23 +02:00
oops
git-svn-id: file:///svn/phpbb/trunk@6396 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user