From 053eb755fa698354dada23ddb224814a08b79cc9 Mon Sep 17 00:00:00 2001 From: Jon goldberg Date: Fri, 4 Mar 2016 19:35:58 -0500 Subject: [PATCH] CRM-18164 - Fix display of activities when recurring activity is present --- 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 f5a5a0ac46..9149a36ab7 100644 --- a/CRM/Activity/BAO/Activity.php +++ b/CRM/Activity/BAO/Activity.php @@ -2604,7 +2604,7 @@ INNER JOIN civicrm_option_group grp ON ( grp.id = val.option_group_id AND grp.n ); if ($values['is_recurring_activity']) { - $contactActivities[$activityId]['is_recurring_activity'] = CRM_Core_BAO_RecurringEntity::getPositionAndCount($values['activity_id'], 'civicrm_activity'); + $activity['is_recurring_activity'] = CRM_Core_BAO_RecurringEntity::getPositionAndCount($values['activity_id'], 'civicrm_activity'); } array_push($contactActivities, $activity); -- 2.25.1