BUG-11402 FIXED Crash when opening a group floater when disconnected

master
Kitty Barnett 2016-02-14 17:55:31 +01:00
parent 51786e9441
commit cedfff1312
1 changed files with 1 additions and 1 deletions

View File

@ -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();