From a54e975b37426bd9c33d00067d171a285a7d6175 Mon Sep 17 00:00:00 2001 From: AndreyL ProductEngine Date: Thu, 15 May 2014 04:22:54 +0300 Subject: MAINT-3932 FIXED [vwr] "Owner" role is sometimes (always?) removed from group Invite floater. --- indra/newview/llpanelgroupinvite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/llpanelgroupinvite.cpp b/indra/newview/llpanelgroupinvite.cpp index 48736be253..f3833ed6e4 100755 --- a/indra/newview/llpanelgroupinvite.cpp +++ b/indra/newview/llpanelgroupinvite.cpp @@ -280,7 +280,7 @@ void LLPanelGroupInvite::addRoleNames() //else if they have the limited add to roles power //we add every role the user is in //else we just add to everyone - bool is_owner = member_data->isInRole(gdatap->mOwnerRole); + bool is_owner = member_data->isOwner(); bool can_assign_any = gAgent.hasPowerInGroup(mImplementation->mGroupID, GP_ROLE_ASSIGN_MEMBER); bool can_assign_limited = gAgent.hasPowerInGroup(mImplementation->mGroupID, -- cgit v1.2.3