Fix fax from address when sending an outbound fax

This commit is contained in:
FusionPBX
2024-02-23 15:43:59 -07:00
committed by GitHub
parent 9c4e38babc
commit 4ae3f99589

View File

@@ -187,10 +187,10 @@
//prepare the smtp from and from name variables
$email_from = $setting->get('fax','smtp_from');
$email_from_name = $setting->get('fax','smtp_from_name');
if (!empty($email_from)) {
if (empty($email_from)) {
$email_from = $setting->get('email','smtp_from');
}
if (!empty($email_from_name)) {
if (empty($email_from_name)) {
$email_from_name = $setting->get('email','smtp_from_name');
}