Use the right variable fax_email.

This commit is contained in:
FusionPBX 2022-02-04 21:32:49 -07:00 committed by GitHub
parent edcaff430b
commit 737eb1df0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 ";