Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: civicrm/civicrm-core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bedbeaff334703e1b2ef06ba8a64f6af57633e15
Choose a base ref
..
head repository: civicrm/civicrm-core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9f512e1ee08d6a0c313778eba0537dd00be433f9
Choose a head ref
Showing with 2 additions and 1 deletion.
  1. +2 −1 CRM/Event/Form/Participant.php
3 changes: 2 additions & 1 deletion CRM/Event/Form/Participant.php
Original file line number Diff line number Diff line change
@@ -1634,7 +1634,6 @@ protected function getStatusMsg($params, $sent, $updateStatusMsg, $notSent) {
* @throws \Exception
*/
public function buildEventFeeForm($form) {
$form->assign('paid', $form->_isPaidEvent ?? NULL);
if ($form->_eventId) {
$form->_isPaidEvent = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Event', $form->_eventId, 'is_monetary');
if ($form->_isPaidEvent) {
@@ -1741,6 +1740,8 @@ public function buildEventFeeForm($form) {
}
$form->assign('onlinePendingContributionId', $form->get('onlinePendingContributionId'));

$form->assign('paid', $form->_isPaidEvent ?? NULL);

$form->addElement('checkbox',
'send_receipt',
ts('Send Confirmation?'), NULL,