From 069f3c3da00d502a4e7b6e682d9197e294c586bb Mon Sep 17 00:00:00 2001 From: larssandergreen Date: Tue, 9 May 2023 14:57:29 -0600 Subject: [PATCH] Fix authorization failed on self-service participant transfer --- CRM/Event/Form/SelfSvcTransfer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/Form/SelfSvcTransfer.php b/CRM/Event/Form/SelfSvcTransfer.php index 4f22bfe0ea..2ac42a6eb0 100644 --- a/CRM/Event/Form/SelfSvcTransfer.php +++ b/CRM/Event/Form/SelfSvcTransfer.php @@ -465,7 +465,7 @@ class CRM_Event_Form_SelfSvcTransfer extends CRM_Core_Form { * @throws \CRM_Core_Exception */ public function transferParticipantRegistration($toContactID, $fromParticipantID) { - $toParticipantValues = \Civi\Api4\Participant::get() + $toParticipantValues = \Civi\Api4\Participant::get(FALSE) ->addWhere('id', '=', $fromParticipantID) ->execute() ->first(); -- 2.25.1