diff options
author | friendica <info@friendica.com> | 2013-09-19 17:40:17 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-19 17:40:17 -0700 |
commit | ef88ba11ba97f5eb09fb917a6495037256aaa5ec (patch) | |
tree | 37db0befd45dca105ae1523a9903568142a0cced /mod/message.php | |
parent | a5656c350dd2a1329ef8ddb4e6eea82e341920c3 (diff) | |
download | volse-hubzilla-ef88ba11ba97f5eb09fb917a6495037256aaa5ec.tar.gz volse-hubzilla-ef88ba11ba97f5eb09fb917a6495037256aaa5ec.tar.bz2 volse-hubzilla-ef88ba11ba97f5eb09fb917a6495037256aaa5ec.zip |
prefill private mail recip from $_REQUEST['to'] if it's there.
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); |