Selaa lähdekoodia

Change the object name install_fusionpbx.php uses dbh instead of db.

markjcrane 9 vuotta sitten
vanhempi
commit
6ce6ceef55
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      core/install/resources/classes/install_fusionpbx.php

+ 1 - 1
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) {