Internal: Message: Fix e-mail sender (if provided) - refs BT#20235

Also might affect other e-mail sending processes. Was using global platform sender setting before, no matter what.
pull/5462/head
Yannick Warnier 2 years ago committed by Angel Fernando Quiroz Campos
parent 1e93c2b6df
commit 4df2c187f7
  1. 4
      public/main/inc/lib/notification.lib.php

@ -318,8 +318,8 @@ class Notification extends Model
$userInfo['mail'],
Security::filter_terms($titleToNotification),
Security::filter_terms($content),
$this->adminName,
$this->adminEmail,
!empty($senderInfo['complete_name']) ? $senderInfo['complete_name'] : $this->adminName,
!empty($senderInfo['email']) ? $senderInfo['email'] : $this->adminEmail,
$extraHeaders,
$attachments,
false

Loading…
Cancel
Save