summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelexperiences.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpanelexperiences.cpp')
-rw-r--r--indra/newview/llpanelexperiences.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llpanelexperiences.cpp b/indra/newview/llpanelexperiences.cpp
index 02a3c4c410..617ceef615 100644
--- a/indra/newview/llpanelexperiences.cpp
+++ b/indra/newview/llpanelexperiences.cpp
@@ -56,7 +56,7 @@ public:
{
LLUUID public_key = it->asUUID();
- LLExperienceCache::get(public_key, LLExperienceCache::PUBLIC_KEY, boost::bind(ExperienceResult, mParent, _1));
+ LLExperienceCache::get(public_key, boost::bind(ExperienceResult, mParent, _1));
}
}
};
@@ -73,9 +73,9 @@ void LLPanelExperiences::addExperienceInfo(const LLSD& experience)
item->setExperienceName(experience["error"].asString());
}
- if(experience.has(LLExperienceCache::PUBLIC_KEY))
+ if(experience.has(LLExperienceCache::DESCRIPTION))
{
- item->setExperienceDescription(experience[LLExperienceCache::PUBLIC_KEY].asString());
+ item->setExperienceDescription(experience[LLExperienceCache::DESCRIPTION].asString());
}
mExperiencesList->addItem(item);
@@ -228,7 +228,7 @@ void LLExperienceItem::init( LLSD* experience_data )
{
if(experience_data)
{
- setExperienceDescription(experience_data->has(LLExperienceCache::PUBLIC_KEY)?(*experience_data)[LLExperienceCache::PUBLIC_KEY].asString() : std::string());
+ setExperienceDescription(experience_data->has(LLExperienceCache::DESCRIPTION)?(*experience_data)[LLExperienceCache::DESCRIPTION].asString() : std::string());
setExperienceName(experience_data->has(LLExperienceCache::NAME)?(*experience_data)[LLExperienceCache::NAME].asString() : std::string());
}
}