From 2c39a2aca174e64c8ce47b2f890d9b3e25766fbf Mon Sep 17 00:00:00 2001 From: larssandergreen Date: Tue, 9 May 2023 14:40:52 -0600 Subject: [PATCH] Preserve participant status on transfer --- CRM/Event/Form/SelfSvcTransfer.php | 1 - 1 file changed, 1 deletion(-) diff --git a/CRM/Event/Form/SelfSvcTransfer.php b/CRM/Event/Form/SelfSvcTransfer.php index 4f22bfe0ea..dde9d2f367 100644 --- a/CRM/Event/Form/SelfSvcTransfer.php +++ b/CRM/Event/Form/SelfSvcTransfer.php @@ -475,7 +475,6 @@ class CRM_Event_Form_SelfSvcTransfer extends CRM_Core_Form { ])['values']; unset($toParticipantValues['id']); $toParticipantValues['contact_id'] = $toContactID; - $toParticipantValues['status_id'] = CRM_Core_PseudoConstant::getKey('CRM_Event_BAO_Participant', 'status_id', 'Registered'); $toParticipantValues['register_date'] = date("Y-m-d"); //first create the new participant row -don't set registered_by yet or email won't be sent $participant = CRM_Event_BAO_Participant::create($toParticipantValues); -- 2.25.1