diff options
Diffstat (limited to 'mod/message.php')
-rw-r--r-- | mod/message.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/message.php b/mod/message.php index f5a60b73b..652481579 100644 --- a/mod/message.php +++ b/mod/message.php @@ -273,6 +273,11 @@ function message_content(&$a) { $prefill = (($preselect) ? $prename : ''); + if(! $prefill) { + if(array_key_exists('to',$_REQUEST)) + $prefill = $_REQUEST['to']; + } + // the ugly select box $select = contact_select('messageto','message-to-select', $preselect, 4, true, false, false, 10); |