Skip to content

Commit 33f0c31

Browse files
authored
Merge pull request #9047 from sbulen/21_mail_pref_error
[2.1] mail pref error
2 parents f820d70 + 0d89224 commit 33f0c31

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/tasks/CreatePost-Notify.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,9 @@ protected function handleWatchedNotifications()
554554
if (empty($modSettings['disallow_sendBody']) && !empty($this->prefs[$member_id]['msg_receive_body']))
555555
$message_type .= '_body';
556556
}
557+
// No notification request for this user for this board/topic.
558+
else
559+
continue;
557560

558561
// We need to fake some of $user_info to make BBC parsing work correctly.
559562
if (isset($user_info))

0 commit comments

Comments
 (0)