Skip to content

Commit

Permalink
[K6.0] If "Visible E-mail Recipient" is the same mail than one #8825 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
xillibit committed Nov 9, 2022
1 parent e922327 commit 03da694
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/libraries/kunena/src/Forum/Message/KunenaMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,11 @@ public function sendNotification($url = null, $approved = false)
continue;
}

$receivers[$emailTo->subscription][] = $emailTo->email;
$sentusers[] = $emailTo->id;
if ($config->emailVisibleAddress != $emailTo->email)
{
$receivers[$emailTo->subscription][] = $emailTo->email;
$sentusers[] = $emailTo->id;
}
}

$mailnamesender = !empty($config->email_sender_name) ? MailHelper::cleanAddress($config->email_sender_name) : MailHelper::cleanAddress($config->boardTitle);
Expand Down

0 comments on commit 03da694

Please sign in to comment.