Fix repeattransaction api to use custom data from the template contribution
authoreileen <emcnaughton@wikimedia.org>
Mon, 27 Jul 2020 04:47:46 +0000 (16:47 +1200)
committereileen <emcnaughton@wikimedia.org>
Mon, 27 Jul 2020 08:53:47 +0000 (20:53 +1200)
commitb2250d14c9e275898c1d17e7325c8ff8e0ad8382
tree3c53717276e5072b7c6ab96cb468849b9e287fe5
parent991e59e663290f25e8c36831524d5db47084c27c
Fix repeattransaction api to use custom data from the template contribution

This ensures (& tests) that custom data is copied from the template transaction - generally the most recent transaction
CRM/Contribute/BAO/Contribution.php
CRM/Contribute/BAO/ContributionRecur.php
tests/phpunit/api/v3/ContributionTest.php