prefill private mail recip from $_REQUEST['to'] if it's there.
This commit is contained in:
parent
a5656c350d
commit
ef88ba11ba
@ -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);
|
||||||
|
Reference in New Issue
Block a user