From 422b41cf8ff39b051b4692037838f0908990ee8d Mon Sep 17 00:00:00 2001 From: denisent <120752864+denisent@users.noreply.github.com> Date: Wed, 11 Jan 2023 15:04:34 -0700 Subject: [PATCH] malformed sql messed up fax server columns (#6535) --- app/fax/fax_files.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/fax/fax_files.php b/app/fax/fax_files.php index 542174e64b..db089ea0c9 100644 --- a/app/fax/fax_files.php +++ b/app/fax/fax_files.php @@ -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";