projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a44a1dd
)
Preserve participant status on transfer
author
larssandergreen
<lars@wildsight.ca>
Tue, 9 May 2023 20:40:52 +0000
(14:40 -0600)
committer
larssandergreen
<lars@wildsight.ca>
Tue, 9 May 2023 20:40:52 +0000
(14:40 -0600)
CRM/Event/Form/SelfSvcTransfer.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Event/Form/SelfSvcTransfer.php
b/CRM/Event/Form/SelfSvcTransfer.php
index 4f22bfe0eaa9164db77318b38b137194e28bfefd..dde9d2f367d092216ae329622f175ffc779c3366 100644
(file)
--- 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);