summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndreyL ProductEngine <andreylproductengine@lindenlab.com>2014-05-15 04:22:54 +0300
committerAndreyL ProductEngine <andreylproductengine@lindenlab.com>2014-05-15 04:22:54 +0300
commita54e975b37426bd9c33d00067d171a285a7d6175 (patch)
treecc1f4faa2cb7e74af40665165d848ff984f3c3c0 /indra
parentb511829296d50e66d1ebb85a63d702371d403acb (diff)
MAINT-3932 FIXED [vwr] "Owner" role is sometimes (always?) removed from group Invite floater.
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llpanelgroupinvite.cpp2
1 files changed, 1 insertions, 1 deletions
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,