aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp
diff options
context:
space:
mode:
authorNathan <exreaction@phpbb.com>2012-07-04 20:52:07 -0500
committerNathan <exreaction@phpbb.com>2012-07-10 12:34:39 -0500
commit0f4956b280468e8890b1c84df41d7bb1eb2447c5 (patch)
tree21cc0c371ded170180c1c2e63509828fa770fa71 /phpBB/includes/ucp
parent6f4538c676ebd3b6e299a606a04f672698ebc487 (diff)
downloadforums-0f4956b280468e8890b1c84df41d7bb1eb2447c5.tar
forums-0f4956b280468e8890b1c84df41d7bb1eb2447c5.tar.gz
forums-0f4956b280468e8890b1c84df41d7bb1eb2447c5.tar.bz2
forums-0f4956b280468e8890b1c84df41d7bb1eb2447c5.tar.xz
forums-0f4956b280468e8890b1c84df41d7bb1eb2447c5.zip
[ticket/8323] Do not allow sending PMs to Inactive users
PHPBB3-8323
Diffstat (limited to 'phpBB/includes/ucp')
-rw-r--r--phpBB/includes/ucp/ucp_pm_compose.php2
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 2a2ad48063..d7290070a5 100644
--- a/phpBB/includes/ucp/ucp_pm_compose.php
+++ b/phpBB/includes/ucp/ucp_pm_compose.php
@@ -1194,7 +1194,7 @@ function handle_message_list_actions(&$address_list, &$error, $remove_u, $remove
if (sizeof($usernames))
{
$user_id_ary = array();
- user_get_id_name($user_id_ary, $usernames, array(USER_NORMAL, USER_FOUNDER, USER_INACTIVE));
+ user_get_id_name($user_id_ary, $usernames, array(USER_NORMAL, USER_FOUNDER));
// If there are users not existing, we will at least print a notice...
if (!sizeof($user_id_ary))