Change $db to $this->db because its in the PHP class.
This commit is contained in:
parent
edb7163f08
commit
e65f63fe43
|
|
@ -389,7 +389,7 @@ include "root.php";
|
|||
$sql .= "from v_contacts ";
|
||||
$sql .= "where domain_uuid = '".$domain_uuid."' ";
|
||||
$sql .= "order by contact_organization desc, contact_name_given asc, contact_name_family asc ";
|
||||
$prep_statement = $db->prepare(check_sql($sql));
|
||||
$prep_statement = $this->db->prepare(check_sql($sql));
|
||||
$prep_statement->execute();
|
||||
$contacts = $prep_statement->fetchAll(PDO::FETCH_NAMED);
|
||||
unset ($prep_statement, $sql);
|
||||
|
|
|
|||
Loading…
Reference in New Issue