From 0d93f90b21e04520c8d08dd704d61dd64fd76488 Mon Sep 17 00:00:00 2001 From: Ken West Date: Wed, 20 Apr 2016 22:20:43 +1000 Subject: [PATCH] CRM-18448 Update recurring contribution - prevent 'Financial Type is required field' validation error --- CRM/Contribute/Form/UpdateSubscription.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/UpdateSubscription.php b/CRM/Contribute/Form/UpdateSubscription.php index a6837c5cdc..b1b1ed8f9c 100644 --- a/CRM/Contribute/Form/UpdateSubscription.php +++ b/CRM/Contribute/Form/UpdateSubscription.php @@ -193,7 +193,7 @@ class CRM_Contribute_Form_UpdateSubscription extends CRM_Core_Form { } if (CRM_Contribute_BAO_ContributionRecur::supportsFinancialTypeChange($this->contributionRecurID)) { - $this->addEntityRef('financial_type_id', ts('Financial Type'), array('entity' => 'FinancialType'), TRUE); + $this->addEntityRef('financial_type_id', ts('Financial Type'), array('entity' => 'FinancialType'), !$this->_selfService); } $type = 'next'; -- 2.25.1