From 7d7e0aacda7466c63151453d057af44ed891159d Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 26 Mar 2021 12:31:43 +1300 Subject: [PATCH] Remove check for installments as not on the form (copied from shared code --- CRM/Member/Form/Membership.php | 1 - 1 file changed, 1 deletion(-) diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index a074540ff9..70fef9c87d 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -1721,7 +1721,6 @@ DESC limit 1"); $recurParams['auto_renew'] = TRUE; $recurParams['frequency_unit'] = $this->getFrequencyUnit(); $recurParams['frequency_interval'] = $this->getFrequencyInterval(); - $recurParams['installments'] = $params['installments'] ?? NULL; $recurParams['financial_type_id'] = $this->getFinancialTypeID(); $recurParams['currency'] = $this->getCurrency(); $recurParams['payment_instrument_id'] = $this->getPaymentInstrumentID(); -- 2.25.1