summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2010-05-12 17:01:32 +0300
committerAlexei Arabadji <aarabadji@productengine.com>2010-05-12 17:01:32 +0300
commit0815eb1ce49ddbf647b90b3353c046ab194ecc58 (patch)
tree3842b942d25782aef219b7c810f0fdf0df12e040 /indra
parentafb366ad7e9d667b7bf4e9a7f58f565182c7ee5b (diff)
EXT-7267 FIXED Corrected retrieving of object name.
reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/376/ --HG-- branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llscriptfloater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llscriptfloater.cpp b/indra/newview/llscriptfloater.cpp
index 11b6c0a3ae..b68fc3b002 100644
--- a/indra/newview/llscriptfloater.cpp
+++ b/indra/newview/llscriptfloater.cpp
@@ -482,7 +482,7 @@ std::string LLScriptFloaterManager::getObjectName(const LLUUID& notification_id)
text = notification->getSubstitutions()["OBJECTNAME"].asString();
break;
case LLScriptFloaterManager::OBJ_GIVE_INVENTORY:
- text = notification->getSubstitutions()["NAME"].asString();
+ text = notification->getSubstitutions()["OBJECTFROMNAME"].asString();
break;
default:
text = LLTrans::getString("object");