mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 15:43:51 +00:00
Fixed: [notificationMailer] invert 'if continue' condition inside foreach loop
This commit is contained in:
@@ -46,7 +46,7 @@ class NotificationMailer
|
||||
[$comment->getNotification()->getSender()]
|
||||
) as $dest
|
||||
) {
|
||||
if (null === $dest->getEmail() || $comment->getCreatedBy() !== $dest) {
|
||||
if (null !== $dest->getEmail() && $comment->getCreatedBy() === $dest) {
|
||||
continue;
|
||||
}
|
||||
$email = new TemplatedEmail();
|
||||
|
Reference in New Issue
Block a user