dev/core#2758 - Fix contribution activity campaign propagation
authorPatrick Figel <pfigel@greenpeace.org>
Tue, 17 Aug 2021 09:34:43 +0000 (11:34 +0200)
committerPatrick Figel <pfigel@greenpeace.org>
Tue, 17 Aug 2021 09:34:43 +0000 (11:34 +0200)
commitb89a5f6fb1367b116868b332c786a14baf8b029d
tree97dc7d27213b870cc28376f2aaaff42967cf493a
parent5d10f7e5c719da71ed036c603cd5e86e4fcccc6c
dev/core#2758 - Fix contribution activity campaign propagation

This fixes an issue where contribution campaigns may not be propagated
to the corresponding contribution activity when the request that
triggers activity creation does not explicitly set the campaign_id
parameter.
CRM/Contribute/BAO/Contribution.php
tests/phpunit/CRM/Contribute/BAO/ContributionTest.php