From f71e6563e7d30170c48033208815d957156a922e Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 2 Apr 2022 23:04:23 -0600 Subject: [PATCH] Update fax_to_email.php --- secure/fax_to_email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secure/fax_to_email.php b/secure/fax_to_email.php index 662b31ce9c..281d81cca0 100644 --- a/secure/fax_to_email.php +++ b/secure/fax_to_email.php @@ -536,7 +536,7 @@ if (!function_exists('fax_split_dtmf')) { fclose($fp); } } - else { + if ($fax_send_mode == 'enqueue') { $wav_file = ''; $response = fax_enqueue($fax_uuid, $fax_file, $wav_file, $mailto_address, $fax_uri, $fax_dtmf, $dial_string); }