summaryrefslogtreecommitdiff
path: root/indra/newview/llavataractions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llavataractions.cpp')
-rwxr-xr-x[-rw-r--r--]indra/newview/llavataractions.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp
index 42701bcff9..219fca66bd 100644..100755
--- a/indra/newview/llavataractions.cpp
+++ b/indra/newview/llavataractions.cpp
@@ -56,6 +56,7 @@
#include "llmutelist.h"
#include "llnotificationsutil.h" // for LLNotificationsUtil
#include "llpaneloutfitedit.h"
+#include "llpanelprofile.h"
#include "llrecentpeople.h"
#include "llsidetray.h"
#include "lltrans.h"
@@ -319,11 +320,9 @@ void LLAvatarActions::showProfile(const LLUUID& id)
std::string first_name,last_name;
if (gCacheName->getName(id,first_name,last_name))
{
- llinfos << "opening web profile for " << first_name << "." << last_name << llendl;
- std::string url = gSavedSettings.getString("WebProfileURL");
- LLSD subs;
- subs["AGENT_NAME"] = first_name + "." + last_name;
- url = LLWeb::expandURLSubstitutions(url,subs);
+ std::string agent_name = first_name + "." + last_name;
+ llinfos << "opening web profile for " << agent_name << llendl;
+ std::string url = getProfileURL(agent_name);
LLWeb::loadURL(url);
}
else