Skip to content

Commit

Permalink
Announcement: Fix e-mail sender (if provided) - refs BT#20235
Browse files Browse the repository at this point in the history
Also might affect other e-mail sending processes. Was using global platform sender setting before, no matter what.
  • Loading branch information
ywarnier authored and AngelFQC committed May 8, 2024
1 parent 8d2a09a commit c10831d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/main/inc/lib/notification.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ public function saveNotification(
$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
Expand Down

0 comments on commit c10831d

Please sign in to comment.