summaryrefslogtreecommitdiff
path: root/indra/newview/llavataractions.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2010-12-07 16:57:52 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2010-12-07 16:57:52 -0500
commit1831c1a9508f858482fd728bb3edc274de401660 (patch)
tree00cde066c41bec66be74f111991373c0c4e990ee /indra/newview/llavataractions.cpp
parent3c00c1ba4590e758f84f5c97f2d407aa7e605ad8 (diff)
more merge from viewer-development
Diffstat (limited to 'indra/newview/llavataractions.cpp')
-rwxr-xr-xindra/newview/llavataractions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp
index 80a12e68ae..aea7f00222 100755
--- a/indra/newview/llavataractions.cpp
+++ b/indra/newview/llavataractions.cpp
@@ -309,10 +309,10 @@ void LLAvatarActions::showProfile(const LLUUID& id)
params["open_tab_name"] = "panel_profile";
// PROFILES: open in webkit window
- std::string first_name,last_name;
- if (gCacheName->getName(id,first_name,last_name))
+ std::string full_name;
+ if (gCacheName->getFullName(id,full_name))
{
- std::string agent_name = first_name + "." + last_name;
+ std::string agent_name = LLCacheName::buildUsername(full_name);
llinfos << "opening web profile for " << agent_name << llendl;
std::string url = getProfileURL(agent_name);
LLWeb::loadURLInternal(url);