Skip to content

Fix fatal errors caused by buggy / deprecated code

My attempt at fixes for #193 (closed) and #194 (closed):

  • Remove unnecessary level of array encapsulation when creating $params for custom profiles, so that the correct data format is passed downstream to CiviCRM core functions.
  • Replace now-broken reference to CRM_Core_OptionGroup::getLabel() with CRM_Core_PseudoConstant::getLabel()

Tested and working on CiviCRM 5.66.1.

Merge request reports