Sfoglia il codice sorgente

field name is singular domain_name

FusionPBX 2 anni fa
parent
commit
c7a046abf2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      resources/pdo.php

+ 1 - 1
resources/pdo.php

@@ -291,7 +291,7 @@ if ($db_type == "odbc") {
 		//get the domains from the database
 			$database = new database;
 			if ($database->table_exists('v_domains')) {
-				$sql = "select * from v_domains order by domain_names asc;";
+				$sql = "select * from v_domains order by domain_name asc;";
 				$prep_statement = $db->prepare($sql);
 				$prep_statement->execute();
 				$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);