malformed sql messed up fax server columns (#6535)

This commit is contained in:
denisent
2023-01-11 15:04:34 -07:00
committed by GitHub
parent bb3b813ce4
commit 422b41cf8f

View File

@@ -244,8 +244,8 @@
}
//get the list
$sql = "select domain_uuid, fax_file_uuid, fax_uuid, fax_mode \n";
$sql .= "fax_destination, fax_file_type, fax_file_path, fax_caller_id_name \n";
$sql = "select domain_uuid, fax_file_uuid, fax_uuid, fax_mode, \n";
$sql .= "fax_destination, fax_file_type, fax_file_path, fax_caller_id_name, \n";
$sql .= "fax_caller_id_number, fax_epoch, fax_base64, fax_date, \n";
$sql .= "to_char(timezone(:time_zone, fax_date), 'DD Mon YYYY') as fax_date_formatted, \n";
$sql .= "to_char(timezone(:time_zone, fax_date), '".$time_format."') as fax_time_formatted \n";