Browse Source

If sender info is set, then setup as a "reply-to" see BT#14771

Julio Montoya 6 years ago
parent
commit
7c51c6e5e5
1 changed files with 1 additions and 2 deletions
  1. 1 2
      main/inc/lib/notification.lib.php

+ 1 - 2
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'],