$fields = array_diff_key($fields, $fieldsToIgnore);
CRM_Core_Session::setStatus(ts('Some of the profile fields cannot be configured for this page.'));
}
$fields = array_diff_key($fields, $fieldsToIgnore);
CRM_Core_Session::setStatus(ts('Some of the profile fields cannot be configured for this page.'));
}
if (!empty($this->_fields)) {
$fields = @array_diff_assoc($fields, $this->_fields);
if (!empty($this->_fields)) {
$fields = @array_diff_assoc($fields, $this->_fields);
CRM_Core_BAO_UFGroup::buildProfile($this, $field, CRM_Profile_Form::MODE_CREATE, $contactID, TRUE);
$this->_fields[$key] = $field;
}
}
CRM_Core_BAO_UFGroup::buildProfile($this, $field, CRM_Profile_Form::MODE_CREATE, $contactID, TRUE);
$this->_fields[$key] = $field;
}
}
//lets get additional participant id to cancel.
if ($this->_allowConfirmation && is_array($cancelledIds)) {
//lets get additional participant id to cancel.
if ($this->_allowConfirmation && is_array($cancelledIds)) {
- $additonalId = $value['participant_id'] ?? NULL;
- if ($additonalId && $key = array_search($additonalId, $cancelledIds)) {
+ $additionalId = $value['participant_id'] ?? NULL;
+ if ($additionalId && $key = array_search($additionalId, $cancelledIds)) {