CRM-18389: Cannot create recurring membership contribution
authordeb.monish <monish.deb@webaccessglobal.com>
Wed, 29 Jun 2016 05:59:27 +0000 (11:29 +0530)
committerdeb.monish <monish.deb@webaccessglobal.com>
Wed, 29 Jun 2016 05:59:27 +0000 (11:29 +0530)
CRM/Contribute/BAO/Contribution/Utils.php

index 3ef89a533aa0813ecb0590d4bcf19ce9d7c0d8f0..80e453cb0dcb62676af8698215a6c7aba6e6aa11 100644 (file)
@@ -122,7 +122,7 @@ class CRM_Contribute_BAO_Contribution_Utils {
 
       if ($contribution && $form->_values['is_recur'] && $contribution->contribution_recur_id
       ) {
-        $paymentParams['contributionRecurID'] = $contribution->contribution_recur_id;
+        $form->_params['contributionRecurID'] = $contribution->contribution_recur_id;
       }
 
       $paymentParams['qfKey'] = $form->controller->_key;