From 7269e3edea5474d85f8c317d166a0e5edd979ff5 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Mon, 30 Mar 2015 01:31:59 +0530 Subject: [PATCH] -- 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 --- CRM/Contribute/Form/Contribution/OnBehalfOf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } } -- 2.25.1