summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgroupexperiences.cpp
diff options
context:
space:
mode:
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();