From b95fe31c5cda691560d0d5eba9427c529e3266fa Mon Sep 17 00:00:00 2001 From: "deb.monish" Date: Mon, 7 Nov 2016 20:21:57 +0530 Subject: [PATCH] CRM-19600: Membership Renewal activity not created through online contribution page --- CRM/Contribute/BAO/Contribution.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 4e88444e49..3948e43b73 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -4603,6 +4603,8 @@ LIMIT 1;"; $var = TRUE; CRM_Member_BAO_Membership::createRelatedMemberships($var, $var, TRUE); civicrm_api3('Membership', 'create', $membershipParams); + //CRM-19600: Add Membership Renewal activity + CRM_Activity_BAO_Activity::addActivity($membership, 'Membership Renewal', $membership->contact_id); } } } -- 2.25.1