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