diff options
author | Nathan <exreaction@phpbb.com> | 2012-07-10 16:38:07 -0500 |
---|---|---|
committer | Nathan <exreaction@phpbb.com> | 2012-07-10 16:38:07 -0500 |
commit | 08bdebb0b578df7df7a3fb451691cb927854b84e (patch) | |
tree | 781f759574dbe1ca460415135f1f7fdd9b707be3 | |
parent | 33852e6251cf9eea29efde4aebdd64500b7e7c2b (diff) | |
download | forums-08bdebb0b578df7df7a3fb451691cb927854b84e.tar forums-08bdebb0b578df7df7a3fb451691cb927854b84e.tar.gz forums-08bdebb0b578df7df7a3fb451691cb927854b84e.tar.bz2 forums-08bdebb0b578df7df7a3fb451691cb927854b84e.tar.xz forums-08bdebb0b578df7df7a3fb451691cb927854b84e.zip |
[ticket/8323] Allow temporarily banned users to receive PMs, but not a notification
PHPBB3-8323
-rw-r--r-- | phpBB/includes/functions_privmsgs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php index 55610a923e..99db8d816d 100644 --- a/phpBB/includes/functions_privmsgs.php +++ b/phpBB/includes/functions_privmsgs.php @@ -1828,12 +1828,12 @@ function pm_notification($mode, $author, $recipients, $subject, $message, $msg_i return; } - // Get permanently banned users (do not notify these users) + // Get currently banned users (do not notify these users) if (!function_exists('phpbb_get_banned_user_ids')) { include($phpbb_root_path . 'includes/functions_user.' . $phpEx); } - $banned_users = phpbb_get_banned_user_ids(array_keys($recipients), false); + $banned_users = phpbb_get_banned_user_ids(array_keys($recipients)); $recipients = array_diff(array_keys($recipients), $banned_users); // Get the list of users who can read PMs (only notify those who can read PMs) |