Fix handling of parameters in repeattransaction
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 7 Jul 2022 02:00:34 +0000 (14:00 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 7 Jul 2022 05:06:32 +0000 (17:06 +1200)
commitc4f0a8277a419428e7f60aa3584d4a928456af60
treed256c7f546841057e5c895f8e4243e7a1f2191a2
parent5bf5476f5d3559a2750cc75027b5f3565dd0dbe1
Fix handling of parameters in repeattransaction

The function was forcing in the value from the original contribution
into amount, rather than the value from the templateContribution
CRM/Contribute/BAO/ContributionRecur.php
api/v3/Contribution.php
tests/phpunit/api/v3/ContributionTest.php