Explorar o código

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

markjcrane %!s(int64=9) %!d(string=hai) anos
pai
achega
6ce6ceef55
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {