prefill private mail recip from $_REQUEST['to'] if it's there.

This commit is contained in:
friendica 2013-09-19 17:40:17 -07:00
parent a5656c350d
commit ef88ba11ba

View File

@ -273,6 +273,11 @@ function message_content(&$a) {
$prefill = (($preselect) ? $prename : ''); $prefill = (($preselect) ? $prename : '');
if(! $prefill) {
if(array_key_exists('to',$_REQUEST))
$prefill = $_REQUEST['to'];
}
// the ugly select box // the ugly select box
$select = contact_select('messageto','message-to-select', $preselect, 4, true, false, false, 10); $select = contact_select('messageto','message-to-select', $preselect, 4, true, false, false, 10);