Fix Class DB not init for dbh check on close db handler
This commit is contained in:
1 parent
21b9b99197
commit
7981e3ab51
1 file changed
+1
-1
@@ -433,7 +433,7 @@
|
||||
// only used by the deconstructor
|
||||
private function _close_db()
|
||||
{
|
||||
if ($this->dbh)
|
||||
if (isset($this->dbh) && $this->dbh)
|
||||
{
|
||||
$this->db_functions->_db_close();
|
||||
unset($this->dbh);
|
||||
|
||||
Reference in new issue
Block a user