Commit a84f8267 authored by eileen's avatar eileen 🎱

Merge pull request #6739 from jitendrapurohit/CRM-17205

CRM-17205 -- Fix for broken Free event registration
parents bb6a41ca 13f230bc
......@@ -1153,19 +1153,19 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration {
) {
$this->set('contributeMode', 'notify');
}
else {
$params['description'] = ts('Online Event Registration') . ' ' . $this->_values['event']['title'];
}
else {
$params['description'] = ts('Online Event Registration') . ' ' . $this->_values['event']['title'];
$this->_params = array();
$this->_params[] = $params;
$this->set('params', $this->_params);
$this->_params = array();
$this->_params[] = $params;
$this->set('params', $this->_params);
if (
empty($params['additional_participants'])
&& !$this->_values['event']['is_confirm_enabled'] // CRM-11182 - Optional confirmation screen
) {
self::processRegistration($this->_params);
}
if (
empty($params['additional_participants'])
&& !$this->_values['event']['is_confirm_enabled'] // CRM-11182 - Optional confirmation screen
) {
self::processRegistration($this->_params);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment