From: Ken West Date: Wed, 20 Apr 2016 12:20:43 +0000 (+1000) Subject: CRM-18448 Update recurring contribution - prevent 'Financial Type is required field... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0d93f90b21e04520c8d08dd704d61dd64fd76488;p=civicrm-core.git CRM-18448 Update recurring contribution - prevent 'Financial Type is required field' validation error --- 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';