Fix fax from address when sending an outbound fax

This commit is contained in:
FusionPBX
2024-02-23 15:42:38 -07:00
committed by GitHub
parent 4d9160b1cd
commit ebcd78ed4f

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');
}