aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-01-31 00:32:20 +0100
committerAndreas Fischer <bantu@phpbb.com>2013-01-31 00:32:20 +0100
commita0b141b6730a8b32e9fb4fe721360e78fb99ae68 (patch)
treebd5ed5e2d32c374de41d53efcc077476981b547a /phpBB/includes
parent5154c6960d5d22b7fc2fab890056ce5c047c08a4 (diff)
parent36b7d7560e55ee570a2e2f5991982be6c8e66487 (diff)
downloadforums-a0b141b6730a8b32e9fb4fe721360e78fb99ae68.tar
forums-a0b141b6730a8b32e9fb4fe721360e78fb99ae68.tar.gz
forums-a0b141b6730a8b32e9fb4fe721360e78fb99ae68.tar.bz2
forums-a0b141b6730a8b32e9fb4fe721360e78fb99ae68.tar.xz
forums-a0b141b6730a8b32e9fb4fe721360e78fb99ae68.zip
Merge remote-tracking branch 'dhruvgoel92/ticket/11233' into develop-olympus
* dhruvgoel92/ticket/11233: [ticket/11233] prohibit selecting anonymous user as a PM recipient
Diffstat (limited to 'phpBB/includes')
-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 d1786dd9ba..8e82188aff 100644
--- a/phpBB/includes/ucp/ucp_pm_compose.php
+++ b/phpBB/includes/ucp/ucp_pm_compose.php
@@ -359,7 +359,7 @@ function compose_pm($id, $mode, $action, $user_folders = array())
$message_attachment = 0;
$message_text = $message_subject = '';
- if ($to_user_id && $action == 'post')
+ if ($to_user_id && $to_user_id != ANONYMOUS && $action == 'post')
{
$address_list['u'][$to_user_id] = 'to';
}