Skip to content
Snippets Groups Projects
Commit bd38fe3f authored by pratik.joshi's avatar pratik.joshi
Browse files

minor bug fix : when we edit a membership and change its membership type -...

minor bug fix : when we edit a membership and change its membership type - instead of 'change membership type' activity, 'change membership status' activity was getting recorded
parent 5023b798
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership {
'source_contact_id' => $membershipLog['modified_id'],
'target_contact_id' => $membership->contact_id,
'source_record_id' => $membership->id,
'activity_type_id' => CRM_Core_PseudoConstant::getKey('CRM_Activity_BAO_Activity', 'activity_type_id', 'Change Membership Status'),
'activity_type_id' => CRM_Core_PseudoConstant::getKey('CRM_Activity_BAO_Activity', 'activity_type_id', 'Change Membership Type'),
'status_id' => 2,
'priority_id' => 2,
'activity_date_time' => date('Y-m-d H:i:s'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment