aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/mysqli.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/db/mysqli.php')
-rw-r--r--phpBB/includes/db/mysqli.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/mysqli.php b/phpBB/includes/db/mysqli.php
index 554d9ddb60..550dca5d88 100644
--- a/phpBB/includes/db/mysqli.php
+++ b/phpBB/includes/db/mysqli.php
@@ -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;
}
}