aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-03 20:58:39 -0800
committerFriendika <info@friendika.com>2011-03-03 20:58:39 -0800
commit71d481069792a099a3cbc714d92b1cc528d60c6d (patch)
tree9b5894f4f711a8b5161491df36ddd4757a88ea4b /mod
parent69e2252fd6fc8acd8bf5b0fcecd8c329d71c9673 (diff)
downloadvolse-hubzilla-71d481069792a099a3cbc714d92b1cc528d60c6d.tar.gz
volse-hubzilla-71d481069792a099a3cbc714d92b1cc528d60c6d.tar.bz2
volse-hubzilla-71d481069792a099a3cbc714d92b1cc528d60c6d.zip
photo in mail message getting bogus response
Diffstat (limited to 'mod')
-rw-r--r--mod/message.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/message.php b/mod/message.php
index 466b0befa..4821a45d2 100644
--- a/mod/message.php
+++ b/mod/message.php
@@ -165,9 +165,12 @@ function message_content(&$a) {
if(($a->argc > 1) && ($a->argv[1] === 'new')) {
$tpl = load_view_file('view/msg-header.tpl');
-
- $a->page['htmlhead'] .= replace_macros($tpl, array('$baseurl' => $a->get_baseurl()));
+ $a->page['htmlhead'] .= replace_macros($tpl, array(
+ '$baseurl' => $a->get_baseurl(),
+ '$nickname' => $a->user['nickname']
+ ));
+
$select = contact_select('messageto','message-to-select', false, 4, true);
$tpl = load_view_file('view/prv_message.tpl');
$o .= replace_macros($tpl,array(