diff options
author | dolphin <dolphin@lindenlab.com> | 2014-11-06 16:25:17 -0800 |
---|---|---|
committer | dolphin <dolphin@lindenlab.com> | 2014-11-06 16:25:17 -0800 |
commit | c2a516aee1f8c1e26124a77f62962944137ef960 (patch) | |
tree | 016ea4489f6a302e7880069233c564fd3838c1ba /indra/llui/llurlentry.cpp | |
parent | 8cc8e7dc77c7aff6d4698632d6a3bebe76698ff7 (diff) |
ACME-1635: Trusted Experiences now referred to as Key Experiences.
Diffstat (limited to 'indra/llui/llurlentry.cpp')
-rwxr-xr-x | indra/llui/llurlentry.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp index be08d92c78..1389ec4bb2 100755 --- a/indra/llui/llurlentry.cpp +++ b/indra/llui/llurlentry.cpp @@ -1247,7 +1247,12 @@ std::string LLUrlEntryExperienceProfile::getLabel( const std::string &url, const void LLUrlEntryExperienceProfile::onExperienceDetails( const LLSD& experience_details ) { - callObservers(experience_details[LLExperienceCache::EXPERIENCE_ID].asString(), experience_details[LLExperienceCache::NAME].asString(), LLStringUtil::null); + std::string name = experience_details[LLExperienceCache::NAME].asString(); + if(name.empty()) + { + name = LLTrans::getString("ExperienceNameUntitled"); + } + callObservers(experience_details[LLExperienceCache::EXPERIENCE_ID].asString(), name, LLStringUtil::null); } |