aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification
diff options
context:
space:
mode:
authorRMcGirr83 <rmcgirr83@gmail.com>2015-07-20 12:18:20 -0400
committerRichard McGirr <rmcgirr83@gmail.com>2015-07-27 06:27:25 -0400
commit771090f13e14def97f3795cc9f13c857bc4681b1 (patch)
tree1c3fb939f92d30446b813b5f8ec22365dabdf2d9 /phpBB/phpbb/notification
parent6b658874bb6d502acfc68e74ca2eca643acac579 (diff)
downloadforums-771090f13e14def97f3795cc9f13c857bc4681b1.tar
forums-771090f13e14def97f3795cc9f13c857bc4681b1.tar.gz
forums-771090f13e14def97f3795cc9f13c857bc4681b1.tar.bz2
forums-771090f13e14def97f3795cc9f13c857bc4681b1.tar.xz
forums-771090f13e14def97f3795cc9f13c857bc4681b1.zip
[ticket/13711] Notifications are sent to inactive users
PHPBB3-13711
Diffstat (limited to 'phpBB/phpbb/notification')
-rw-r--r--phpBB/phpbb/notification/method/messenger_base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/notification/method/messenger_base.php b/phpBB/phpbb/notification/method/messenger_base.php
index bde4573117..c3aee088f9 100644
--- a/phpBB/phpbb/notification/method/messenger_base.php
+++ b/phpBB/phpbb/notification/method/messenger_base.php
@@ -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;
}