From 120db629b0645033fd6a477b9f96cc8dad589213 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Mon, 7 Oct 2013 11:19:21 +0200 Subject: Execute connection config queries on db handle direclty --- program/lib/Roundcube/rcube_db_mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/lib/Roundcube/rcube_db_mysql.php') diff --git a/program/lib/Roundcube/rcube_db_mysql.php b/program/lib/Roundcube/rcube_db_mysql.php index 24f9ce1bd..d3d0ac5c8 100644 --- a/program/lib/Roundcube/rcube_db_mysql.php +++ b/program/lib/Roundcube/rcube_db_mysql.php @@ -60,7 +60,7 @@ class rcube_db_mysql extends rcube_db */ protected function conn_configure($dsn, $dbh) { - $this->query("SET NAMES 'utf8'"); + $dbh->query("SET NAMES 'utf8'"); } /** -- cgit v1.2.3