Merge branch 'develop-olympus' into develop

* develop-olympus:
  [ticket/11233] prohibit selecting anonymous user as a PM recipient
This commit is contained in:
Andreas Fischer 2013-01-31 00:32:39 +01:00
commit 01045a6bb0

View file

@ -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';
}