Remove check for installments as not on the form (copied from shared code
authoreileen <emcnaughton@wikimedia.org>
Thu, 25 Mar 2021 23:31:43 +0000 (12:31 +1300)
committereileen <emcnaughton@wikimedia.org>
Sat, 3 Apr 2021 20:36:29 +0000 (08:36 +1200)
CRM/Member/Form/Membership.php

index a074540ff9de1aab99d6b236a8be209f5601c232..70fef9c87d3f2882d66abcf003a983d8957d2a82 100644 (file)
@@ -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();