From: Pradeep Nayak Date: Sun, 29 Mar 2015 20:01:59 +0000 (+0530) Subject: -- CRM-16197, fixed onbehalf profile code to use contact sub type X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7269e3edea5474d85f8c317d166a0e5edd979ff5;p=civicrm-core.git -- CRM-16197, fixed onbehalf profile code to use contact sub type ---------------------------------------- * CRM-16197: OnBehalf profile doesn't respect contact sub type https://issues.civicrm.org/jira/browse/CRM-16197 --- diff --git a/CRM/Contribute/Form/Contribution/OnBehalfOf.php b/CRM/Contribute/Form/Contribution/OnBehalfOf.php index b0646cf025..f9c52367c4 100644 --- a/CRM/Contribute/Form/Contribution/OnBehalfOf.php +++ b/CRM/Contribute/Form/Contribution/OnBehalfOf.php @@ -171,7 +171,7 @@ class CRM_Contribute_Form_Contribution_OnBehalfOf { $field['is_required'] = 1; } - CRM_Core_BAO_UFGroup::buildProfile($form, $field, NULL, NULL, FALSE, TRUE); + CRM_Core_BAO_UFGroup::buildProfile($form, $field, NULL, NULL, FALSE, 'onbehalf'); } }