summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_db_pgsql.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-10-07 11:19:21 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-10-07 11:19:21 +0200
commit120db629b0645033fd6a477b9f96cc8dad589213 (patch)
tree271a61211ac0c40d702ea50e22c209a819cf6fd1 /program/lib/Roundcube/rcube_db_pgsql.php
parentaceb0149b8f7f6c57e8dd6ba6f69aa0d6cacc6bc (diff)
Execute connection config queries on db handle direclty
Diffstat (limited to 'program/lib/Roundcube/rcube_db_pgsql.php')
-rw-r--r--program/lib/Roundcube/rcube_db_pgsql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_db_pgsql.php b/program/lib/Roundcube/rcube_db_pgsql.php
index d72c9d6b3..68bf6d85d 100644
--- a/program/lib/Roundcube/rcube_db_pgsql.php
+++ b/program/lib/Roundcube/rcube_db_pgsql.php
@@ -36,7 +36,7 @@ class rcube_db_pgsql extends rcube_db
*/
protected function conn_configure($dsn, $dbh)
{
- $this->query("SET NAMES 'utf8'");
+ $dbh->query("SET NAMES 'utf8'");
}
/**