From 31b6597c1929d0f7aefa0823aceb514d46c9e0e3 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Fri, 15 Apr 2016 19:31:47 -0600 Subject: [PATCH] Change the object name install_fusionpbx.php uses dbh instead of db. --- core/install/resources/classes/install_fusionpbx.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/install/resources/classes/install_fusionpbx.php b/core/install/resources/classes/install_fusionpbx.php index 5ad5f79001..ce6ceb43c8 100644 --- a/core/install/resources/classes/install_fusionpbx.php +++ b/core/install/resources/classes/install_fusionpbx.php @@ -902,7 +902,7 @@ include "root.php"; //get the switch default settings $sql = "select * from v_default_settings "; $sql .= "where default_setting_category = 'switch' "; - $prep_statement = $this->db->prepare($sql); + $prep_statement = $this->dbh->prepare($sql); $prep_statement->execute(); $default_settings = $prep_statement->fetchAll(PDO::FETCH_NAMED); foreach($default_settings as $row) {