From 731d83450818446689588cfba35110f7f47d1787 Mon Sep 17 00:00:00 2001 From: ipula Date: Tue, 26 Nov 2024 12:14:52 +0100 Subject: [PATCH] add phone and biography --- pages/invitation/InvitationHandler.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/invitation/InvitationHandler.php b/pages/invitation/InvitationHandler.php index 40ea22f5e00..929f047087c 100644 --- a/pages/invitation/InvitationHandler.php +++ b/pages/invitation/InvitationHandler.php @@ -246,6 +246,8 @@ public function editUser($args, $request): void $invitationPayload['familyName'] = $user->getFamilyName(null); $invitationPayload['affiliation'] = $user->getAffiliation(null); $invitationPayload['country'] = $user->getCountry(); + $invitationPayload['biography'] = $user->getBiography(null); + $invitationPayload['phone'] = $user->getPhone(); $invitationPayload['userGroupsToAdd'] = []; $invitationPayload['currentUserGroups'] = $this->getUserUserGroups($args[0]); $invitationPayload['userGroupsToRemove'] = [];