minor bug fix : when we edit a membership and change its membership type - instead...
authorPratik Joshi <pratik.joshi@webaccess.co.in>
Wed, 14 Aug 2013 10:34:43 +0000 (16:04 +0530)
committerPratik Joshi <pratik.joshi@webaccess.co.in>
Wed, 14 Aug 2013 10:34:43 +0000 (16:04 +0530)
CRM/Member/BAO/Membership.php

index 30a1adb520b52d8be3da836bc76e5d9bb293ab50..1972792e08641e183d182998afb5c37e7e4ad84a 100644 (file)
@@ -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'),