1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-24 20:17:58 +02:00
git-svn-id: file:///svn/phpbb/trunk@6396 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2006-09-23 13:44:24 +00:00
parent a5a9f16c0d
commit bab608a1b9
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ class dbal_mysql4 extends dbal
{
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;
}
}

View File

@ -50,7 +50,7 @@ class dbal_mysqli extends dbal
{
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;
}
}