mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Change the object name install_fusionpbx.php uses dbh instead of db.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user