From 737eb1df0a50695d15b54d1ec014faa105e87cad Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 4 Feb 2022 21:32:49 -0700 Subject: [PATCH] Use the right variable fax_email. --- 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 1201b0063a..777fee4d93 100644 --- a/secure/fax_to_email.php +++ b/secure/fax_to_email.php @@ -557,7 +557,7 @@ if (!function_exists('fax_split_dtmf')) { } //get the email template from the database - if (isset($email_address) && strlen($email_address) > 0) { + if (isset($fax_email) && strlen($fax_email) > 0) { $sql = "select template_subject, template_body from v_email_templates "; $sql .= "where (domain_uuid = :domain_uuid or domain_uuid is null) "; $sql .= "and template_language = :template_language ";