diff --git a/classes/invitation/invitations/userRoleAssignment/resources/BaseUserRoleAssignmentInviteResource.php b/classes/invitation/invitations/userRoleAssignment/resources/BaseUserRoleAssignmentInviteResource.php index b88ce4cece9..2a83ded6a71 100644 --- a/classes/invitation/invitations/userRoleAssignment/resources/BaseUserRoleAssignmentInviteResource.php +++ b/classes/invitation/invitations/userRoleAssignment/resources/BaseUserRoleAssignmentInviteResource.php @@ -46,7 +46,7 @@ protected function transformUserGroups(?array $userGroups) return [ 'userGroupId' => $userGroup['userGroupId'], - 'userGroupName' => $userGroupModel->getName(null), + 'userGroupName' => $userGroupModel->getLocalizedData('name'), 'masthead' => $userGroup['masthead'], 'dateStart' => $userGroup['dateStart'], 'dateEnd' => $userGroup['dateEnd'],