mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
Merge remote-tracking branch 'dhruvgoel92/ticket/11233' into develop-olympus
* dhruvgoel92/ticket/11233: [ticket/11233] prohibit selecting anonymous user as a PM recipient
This commit is contained in:
commit
a0b141b673
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue