mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/13711] Notifications are sent to inactive users
PHPBB3-13711
This commit is contained in:
parent
6b658874bb
commit
771090f13e
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ abstract class messenger_base extends \phpbb\notification\method\base
|
|||
|
||||
$user = $this->user_loader->get_user($notification->user_id);
|
||||
|
||||
if ($user['user_type'] == USER_IGNORE || in_array($notification->user_id, $banned_users))
|
||||
if ($user['user_type'] == USER_IGNORE || ($user['user_type'] == USER_INACTIVE && $user['user_inactive_reason'] == INACTIVE_MANUAL) || in_array($notification->user_id, $banned_users))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue