summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgroupinvite.cpp
diff options
context:
space:
mode:
authorBaker Linden <baker@lindenlab.com>2014-02-13 10:25:33 -0800
committerBaker Linden <baker@lindenlab.com>2014-02-13 10:25:33 -0800
commit454c5ed631d15441dd50503ab457688fe0289867 (patch)
tree1a10a74926aa2e3b501b39904394316691359588 /indra/newview/llpanelgroupinvite.cpp
parent6580df1ed745b8d5b782fb4bfb9bf7b86660b103 (diff)
[MAINT-3721] - Viewer crash upon click invite
- Fixed a crash that would happen when a resident attempts to invite someone into a group
Diffstat (limited to 'indra/newview/llpanelgroupinvite.cpp')
-rwxr-xr-xindra/newview/llpanelgroupinvite.cpp4
1 files changed, 4 insertions, 0 deletions
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());