We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a29d49 commit e7114b5Copy full SHA for e7114b5
administrator/components/com_joomlaupdate/src/Model/NotificationModel.php
@@ -119,7 +119,7 @@ private function getEmailReceivers($emailGroups): array
119
120
// Only users with valid email address who are not blocked can receive the email
121
foreach ($usersInGroup as $user) {
122
- if (MailHelper::isEmailAddress($user->email) && !$user->block) {
+ if (MailHelper::isEmailAddress($user->email) && $user->sendEmail === 1) {
123
$user->email = strtolower(trim($user->email));
124
125
// Check if the email already exists in the emailReceivers array
0 commit comments