aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 12:15:09 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 12:15:09 +0000
commit1e5e8c0da598191a49f490a68fe9842b90423e42 (patch)
tree635e2ce702c847d34e65d77d3ba75388ed02247c
parent9dd54be959fdf218a3ee2891716bd93178240117 (diff)
downloadelgg-1e5e8c0da598191a49f490a68fe9842b90423e42.tar.gz
elgg-1e5e8c0da598191a49f490a68fe9842b90423e42.tar.bz2
Updated 'Send a message to' form to display users display name rather than username.
git-svn-id: http://code.elgg.org/elgg/trunk@6162 36083f99-b078-4883-b0ff-0f9b5a30f544
-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>";