summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgroupexperiences.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2016-02-18 23:25:20 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2016-02-18 23:25:20 +0200
commite7cf930f50d89a8198e9c90d46ad4d191d73bc86 (patch)
treea2fac0a76b2ea433dfde2cd010f379b44fa5e8ca /indra/newview/llpanelgroupexperiences.cpp
parent145aa1d0740e74aa98f7809dd1f2668b0546a131 (diff)
parentf62971a4f0f5882735ec50374e5821f7a2004363 (diff)
Merged in lindenlab/viewer-lynx
Diffstat (limited to 'indra/newview/llpanelgroupexperiences.cpp')
-rw-r--r--indra/newview/llpanelgroupexperiences.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelgroupexperiences.cpp b/indra/newview/llpanelgroupexperiences.cpp
index bba2447ba7..6bd1c11858 100644
--- a/indra/newview/llpanelgroupexperiences.cpp
+++ b/indra/newview/llpanelgroupexperiences.cpp
@@ -102,7 +102,7 @@ void LLPanelGroupExperiences::activate()
}
// search for experiences owned by the current group
- std::string url = gAgent.getRegion()->getCapability("GroupExperiences");
+ std::string url = (gAgent.getRegion()) ? gAgent.getRegion()->getCapability("GroupExperiences") : LLStringUtil::null;
if (!url.empty())
{
url += "?" + getGroupID().asString();