Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bestpractical/rt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsunnavy <sunnavy@bestpractical.com>2021-05-20 23:01:39 +0300
committersunnavy <sunnavy@bestpractical.com>2022-10-19 00:25:59 +0300
commit9c386adb1719d811097e5683acac3fcdbf65b671 (patch)
tree0edf27a70248168ffdf379287b4cad2ca923257c
parent34ec52115c222131c7c1957e425d996ac698512a (diff)
Show single custom role's name in the result message of adding members
This is for asset custom roles, tickets don't have this issue as the result message was customized in RT::Ticket already.
-rw-r--r--lib/RT/Group.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/RT/Group.pm b/lib/RT/Group.pm
index 7f9854a204..9fc202d001 100644
--- a/lib/RT/Group.pm
+++ b/lib/RT/Group.pm
@@ -1074,7 +1074,7 @@ sub _AddMember {
}
return (1, $self->loc("[_1] set to [_2]",
- $self->loc($self->Name), $new_member_obj->Object->Name) )
+ $self->Label, $new_member_obj->Object->Name) )
if $self->SingleMemberRoleGroup;
return ( 1, $self->loc("Member added: [_1]", $new_member_obj->Object->Name) );