field name is singular domain_name
This commit is contained in:
parent
044932163c
commit
54ce2b15c8
|
|
@ -291,7 +291,7 @@ if ($db_type == "odbc") {
|
||||||
//get the domains from the database
|
//get the domains from the database
|
||||||
$database = new database;
|
$database = new database;
|
||||||
if ($database->table_exists('v_domains')) {
|
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 = $db->prepare($sql);
|
||||||
$prep_statement->execute();
|
$prep_statement->execute();
|
||||||
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
|
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue