From ab64b46a2a76978e3cdd67e98375c6a69708ee72 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sat, 11 May 2019 17:25:11 +1000 Subject: [PATCH] Fix Failing Activity Test --- CRM/Activity/BAO/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Activity/BAO/Activity.php b/CRM/Activity/BAO/Activity.php index 4374bfeba1..56f12e5288 100644 --- a/CRM/Activity/BAO/Activity.php +++ b/CRM/Activity/BAO/Activity.php @@ -766,7 +766,7 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity { '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']); -- 2.25.1