From 71d481069792a099a3cbc714d92b1cc528d60c6d Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 3 Mar 2011 20:58:39 -0800 Subject: [PATCH] photo in mail message getting bogus response --- mod/message.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mod/message.php b/mod/message.php index 466b0befa8..4821a45d26 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(