summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgroupexperiences.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2016-02-18 23:19:51 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2016-02-18 23:19:51 +0200
commitf62971a4f0f5882735ec50374e5821f7a2004363 (patch)
tree24412ee10c41ea36294b277f352d683833870669 /indra/newview/llpanelgroupexperiences.cpp
parent8920beabc4b01dfdbd8eb3bbe33deefe03896f7d (diff)
parentade46cfee04b21cbe88ab64f148e0087ef0a74c6 (diff)
Merged bunch of crashfixes from Kitty
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 76b68122fb..2d7690895f 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();