[REF] Pass an array of correct params to the function to create a recurring contribution.
authoreileen <emcnaughton@wikimedia.org>
Tue, 26 May 2020 07:21:21 +0000 (19:21 +1200)
committereileen <emcnaughton@wikimedia.org>
Tue, 26 May 2020 09:38:00 +0000 (21:38 +1200)
commitc9696db9e60b6e0e1e61d9a91e779d94a7686fb0
treefabb7dc0c86582584df6075e76db2e0a2fff7bfe
parentd111a110d99397070c6f3ee38c9f1525c30eb767
[REF] Pass an array of correct params to the function to create a recurring contribution.

This is getting away from 'passing whatever params we have' to 'passing the right params', which makes it easier
to see what can and can't be altered.

Note that from https://issues.civicrm.org/jira/browse/CRM-17636 we can see that is_email_receipt is not set
for payment purposes but contributionRecur purposes and since it's not a propertyBag param we can leave it off
here
CRM/Member/Form.php
CRM/Member/Form/MembershipRenewal.php