summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index af0bcb809..9d871e41b 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -150,7 +150,7 @@ class ShowstreamAction extends StreamAction {
$user = User::staticGet('id', $profile->id);
if ($cur->id != $user->id && $cur->mutuallySubscribed($user)) {
- common_element('a', array('href' => common_local_url('newmessage', array('nickname' => $user->nickname))),
+ common_element('a', array('href' => common_local_url('newmessage', array('to' => $user->id))),
_('Send a message'));
}