Update email_logs.php (#6578)

Due to a change of table field name the SQL generates an postgres error
This commit is contained in:
ednt
2023-03-17 05:14:01 +01:00
committed by GitHub
parent c41121a00f
commit c923293050

View File

@@ -131,7 +131,7 @@
$sql = "select caller_id_name, caller_id_number, destination_number ";
$sql .= "from v_xml_cdr ";
$sql .= "where domain_uuid = :domain_uuid ";
$sql .= "and uuid = :uuid ";
$sql .= "and xml_cdr_uuid = :uuid ";
$parameters['domain_uuid'] = $domain_uuid;
$parameters['uuid'] = $row['call_uuid'];
$database = new database;