From 2a90732936065636da870aefcd947236b2b36bfe Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 20 Nov 2021 11:48:22 -0700 Subject: [PATCH] Remove the timezone from now() --- secure/fax_to_email.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/secure/fax_to_email.php b/secure/fax_to_email.php index 568c7bcd92..cbc1400224 100644 --- a/secure/fax_to_email.php +++ b/secure/fax_to_email.php @@ -200,7 +200,7 @@ if (!function_exists('fax_enqueue')) { $dial_string .= "fax_task_uuid='".$fax_task_uuid."',"; $description = ''; //! @todo add description if ($db_type == "pgsql") { - $date_utc_now_sql = "NOW() at time zone 'utc'"; + $date_utc_now_sql = "NOW()"; } if ($db_type == "mysql") { $date_utc_now_sql = "UTC_TIMESTAMP()"; @@ -751,4 +751,4 @@ if (!function_exists('fax_split_dtmf')) { fclose($fp); } -?> \ No newline at end of file +?>