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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

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