From 6c80076595ef1d8c124c96bb345909a1cc8b4d00 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Thu, 30 Aug 2018 09:26:30 +0200 Subject: [PATCH] If sender info is set, then setup as a "reply-to" see BT#14771 --- main/inc/lib/notification.lib.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main/inc/lib/notification.lib.php b/main/inc/lib/notification.lib.php index e76037ec48..3e9c33128b 100644 --- a/main/inc/lib/notification.lib.php +++ b/main/inc/lib/notification.lib.php @@ -303,8 +303,7 @@ class Notification extends Model case self::NOTIFY_INVITATION_AT_ONCE: case self::NOTIFY_GROUP_AT_ONCE: $extraHeaders = []; - $noReply = api_get_setting('noreply_email_address'); - if (empty($noReply) && isset($senderInfo['email'])) { + if (isset($senderInfo['email'])) { $extraHeaders = [ 'reply_to' => [ 'name' => $senderInfo['complete_name'],