mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/11233] prohibit selecting anonymous user as a PM recipient
This commit is contained in:
commit
01045a6bb0
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,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