Skip to content

Commit

Permalink
Merge pull request #14236 from seamuslee001/activity_test
Browse files Browse the repository at this point in the history
Fix Failing Activity Test
  • Loading branch information
eileenmcnaughton authored May 11, 2019
2 parents 6ed8da0 + ab64b46 commit 49d8a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Activity/BAO/Activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ public static function getActivities($params) {
'subject' => CRM_Utils_Array::value('subject', $activity),
'assignee_contact_name' => CRM_Utils_Array::value('assignee_contact_sort_name', $activity, []),
'source_contact_id' => CRM_Utils_Array::value('source_contact_id', $activity),
'source_contact_name' => CRM_Utils_Array::value('source_contact_name', $activity),
'source_contact_name' => CRM_Utils_Array::value('source_contact_sort_name', $activity),
];
$activities[$id]['activity_type_name'] = CRM_Core_PseudoConstant::getName('CRM_Activity_BAO_Activity', 'activity_type_id', $activity['activity_type_id']);
$activities[$id]['activity_type'] = CRM_Core_PseudoConstant::getLabel('CRM_Activity_BAO_Activity', 'activity_type_id', $activity['activity_type_id']);
Expand Down

0 comments on commit 49d8a1a

Please sign in to comment.