From 454c5ed631d15441dd50503ab457688fe0289867 Mon Sep 17 00:00:00 2001 From: Baker Linden Date: Thu, 13 Feb 2014 10:25:33 -0800 Subject: [MAINT-3721] - Viewer crash upon click invite - Fixed a crash that would happen when a resident attempts to invite someone into a group --- indra/newview/llpanelgroupinvite.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra/newview/llpanelgroupinvite.cpp') diff --git a/indra/newview/llpanelgroupinvite.cpp b/indra/newview/llpanelgroupinvite.cpp index 19689e7f4b..a368baee48 100755 --- a/indra/newview/llpanelgroupinvite.cpp +++ b/indra/newview/llpanelgroupinvite.cpp @@ -251,6 +251,10 @@ void LLPanelGroupInvite::submit() void LLPanelGroupInvite::addRoleNames() { LLGroupMgrGroupData* gdatap = LLGroupMgr::getInstance()->getGroupData(mImplementation->mGroupID); + if(!gdatap) + { + return; + } LLGroupMgrGroupData::member_list_t::iterator agent_iter = gdatap->mMembers.find(gAgent.getID()); -- cgit v1.2.3