From d7ad8f37a67851225d6f48a7fe73d7e47bec59a3 Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Thu, 16 Apr 2015 08:50:16 +0200 Subject: [PATCH] - fixed mysql lib again --- install/lib/mysql.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/lib/mysql.lib.php b/install/lib/mysql.lib.php index f4f6734e67..e151bc417d 100644 --- a/install/lib/mysql.lib.php +++ b/install/lib/mysql.lib.php @@ -77,7 +77,7 @@ class db extends mysqli if($this->_iConnId) mysqli_close($this->_iConnId); } - private function connect() { + private function do_connect() { if($this->_iConnId) return true; $this->_iConnId = mysqli_connect($this->dbHost, $this->dbUser, $this->dbPass); @@ -180,7 +180,7 @@ class db extends mysqli private function _query($sQuery = '') { global $app; - $this->connect(); + $this->do_connect(); //if($this->isConnected == false) return false; if ($sQuery == '') { -- GitLab