From 9686e6f553e5ad90b14b10b4928f838601f9dc1e Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 26 May 2014 19:20:37 -0700 Subject: [PATCH] Issue #605 - PDO Working, but needs testing. --- e107_handlers/mysql_class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e107_handlers/mysql_class.php b/e107_handlers/mysql_class.php index 9ac17b4dd..520a3ab76 100644 --- a/e107_handlers/mysql_class.php +++ b/e107_handlers/mysql_class.php @@ -299,7 +299,8 @@ class e_db_mysql { try { - $this->mySQLaccess->select_db($database); + $this->mySQLaccess->query("use ".$database); + // $this->mySQLaccess->select_db($database); $dbh->query("use newdatabase"); } catch (PDOException $e) {