summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-02-24 15:44:05 -0800
committerJames Cook <james@lindenlab.com>2010-02-24 15:44:05 -0800
commit91d9bf2330769aee840514570cce8b4463ce6ab5 (patch)
treefd0591e89cfee1ee7dd0b7ce6e0135f97dbe2ef9 /indra/newview
parentf3e0e9a5264a80d146a1d4d77fd9c4f5d3070278 (diff)
DEV-46506 User name and last name appears on the notification message from script
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewermessage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 1a4d34b217..309bed7fc3 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -5152,7 +5152,7 @@ void process_script_question(LLMessageSystem *msg, void **user_data)
S32 count = 0;
LLSD args;
args["OBJECTNAME"] = object_name;
- args["NAME"] = owner_name;
+ args["NAME"] = LLCacheName::cleanFullName(owner_name);
// check the received permission flags against each permission
for (S32 i = 0; i < SCRIPT_PERMISSION_EOF; i++)