summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelavatar.cpp
diff options
context:
space:
mode:
authorleyla <leyla@leyla.com>2010-06-02 11:23:02 -0700
committerleyla <leyla@leyla.com>2010-06-02 11:23:02 -0700
commitbc7837a697bb1b9dac3bef9019dac1fcce2ffa0a (patch)
treedcd2f70c8ce4e926cd08f80babbb077f1ce0535c /indra/newview/llpanelavatar.cpp
parent010dba68ad923cf66b1e05e6969a21f7288fe78a (diff)
notification fixes
Diffstat (limited to 'indra/newview/llpanelavatar.cpp')
-rw-r--r--indra/newview/llpanelavatar.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/newview/llpanelavatar.cpp b/indra/newview/llpanelavatar.cpp
index 56118298fa..3b43d24ea0 100644
--- a/indra/newview/llpanelavatar.cpp
+++ b/indra/newview/llpanelavatar.cpp
@@ -224,12 +224,8 @@ void LLPanelAvatarNotes::rightsConfirmationCallback(const LLSD& notification,
void LLPanelAvatarNotes::confirmModifyRights(bool grant, S32 rights)
{
- std::string full_name;
LLSD args;
- if (gCacheName->getFullName(getAvatarId(), full_name))
- {
- args["NAME"] = full_name;
- }
+ args["NAME"] = LLSLURL("agent", getAvatarId(), "displayname").getSLURLString();
if (grant)
{