From 82d5179acbdf6cc2e22593e8e2ea9e30aa923c19 Mon Sep 17 00:00:00 2001 From: Dimitris Efstathiou Date: Mon, 30 Dec 2024 16:06:04 +0200 Subject: [PATCH] pkp/pkp-lib#10630 Fix tests and UI call --- .../resources/BaseUserRoleAssignmentInviteResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'],