diff options
| author | Nathan <exreaction@phpbb.com> | 2012-07-10 09:58:10 -0500 |
|---|---|---|
| committer | Nathan <exreaction@phpbb.com> | 2012-07-10 12:34:40 -0500 |
| commit | 362ba43f18c07c70855e72ebfaea222e04af1183 (patch) | |
| tree | a18462f3194d687e7e13c42b90d2af8daff0cd8d /phpBB/includes/ucp | |
| parent | 0f4956b280468e8890b1c84df41d7bb1eb2447c5 (diff) | |
| download | forums-362ba43f18c07c70855e72ebfaea222e04af1183.tar forums-362ba43f18c07c70855e72ebfaea222e04af1183.tar.gz forums-362ba43f18c07c70855e72ebfaea222e04af1183.tar.bz2 forums-362ba43f18c07c70855e72ebfaea222e04af1183.tar.xz forums-362ba43f18c07c70855e72ebfaea222e04af1183.zip | |
[ticket/8323] Allow sending PMs to temporarily banned users
Added an argument to the phpbb_get_banned_user_ids() function to allow specifying a banned end time (default true for current functionality, false for only permanent bans, timestamp to find banned until a specified time)
PHPBB3-8323
Diffstat (limited to 'phpBB/includes/ucp')
| -rw-r--r-- | phpBB/includes/ucp/ucp_pm_compose.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php index d7290070a5..e65b523cfb 100644 --- a/phpBB/includes/ucp/ucp_pm_compose.php +++ b/phpBB/includes/ucp/ucp_pm_compose.php @@ -1270,7 +1270,7 @@ function handle_message_list_actions(&$address_list, &$error, $remove_u, $remove // Only check if not a moderator or admin, since they are allowed to override this user setting if (!$auth->acl_gets('a_', 'm_') && !$auth->acl_getf_global('m_')) { - $banned_user_list = phpbb_get_banned_user_ids(array_keys($address_list['u'])); + $banned_user_list = phpbb_get_banned_user_ids(array_keys($address_list['u']), false); if (!empty($banned_user_list)) { |
