aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages/views/default')
-rw-r--r--mod/messages/views/default/messages/forms/send.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/messages/views/default/messages/forms/send.php b/mod/messages/views/default/messages/forms/send.php
index ed2cb0e49..98116e918 100644
--- a/mod/messages/views/default/messages/forms/send.php
+++ b/mod/messages/views/default/messages/forms/send.php
@@ -38,7 +38,7 @@ unset($_SESSION['msg_contents']);
echo "<div class='entity_listing messages clearfloat'><div class='entity_listing_icon'>".elgg_view("profile/icon",array('entity' => $user, 'size' => 'tiny'))."</div>";
//draw it
- echo "<div class='entity_listing_info'>".elgg_echo("messages:to").": <a href='{$vars['url']}pg/profile/".$user->username."'>".$user->username."</a>";
+ echo "<div class='entity_listing_info'>".elgg_echo("messages:to").": <a href='{$vars['url']}pg/profile/".$user->username."'>".$user->name."</a>";
//set the hidden input field to the recipients guid
echo "<input type='hidden' name='send_to' value=\"{$send_to}\" />";
echo "</div></div>";