Use the right variable fax_email.
This commit is contained in:
parent
edcaff430b
commit
737eb1df0a
|
|
@ -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 ";
|
||||
|
|
|
|||
Loading…
Reference in New Issue