diff options
author | robocoder <anthon.pang@gmail.com> | 2010-07-31 07:47:23 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2010-07-31 07:47:23 +0400 |
commit | e192d0b2ffaac97e75c7348102aea663ac250528 (patch) | |
tree | 288d3457f830b5acb7d6d06856b4992df7525a1b /libs/Zend/Db/Adapter/Mysqli.php | |
parent | f75704a6e634d40f9bfb69b9339274366fb34ca1 (diff) |
fixes #1539 - on second thought, I'll copy Uri.php and Http/Client.php, and comment out the offending code
git-svn-id: http://dev.piwik.org/svn/trunk@2833 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'libs/Zend/Db/Adapter/Mysqli.php')
-rw-r--r-- | libs/Zend/Db/Adapter/Mysqli.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/Zend/Db/Adapter/Mysqli.php b/libs/Zend/Db/Adapter/Mysqli.php index eb9437d059..6733a09a6d 100644 --- a/libs/Zend/Db/Adapter/Mysqli.php +++ b/libs/Zend/Db/Adapter/Mysqli.php @@ -374,10 +374,10 @@ class Zend_Db_Adapter_Mysqli extends Zend_Db_Adapter_Abstract $this->_stmt->close(); } $stmtClass = $this->_defaultStmtClass; - // if (!class_exists($stmtClass)) { + if (!class_exists($stmtClass)) { // require_once 'Zend/Loader.php'; - // Zend_Loader::loadClass($stmtClass); - // } + Zend_Loader::loadClass($stmtClass); + } $stmt = new $stmtClass($this, $sql); if ($stmt === false) { return false; |