diff --git a/CRM/Event/Form/ParticipantView.php b/CRM/Event/Form/ParticipantView.php index 49cd4249f0f2..3711d19f3cc2 100644 --- a/CRM/Event/Form/ParticipantView.php +++ b/CRM/Event/Form/ParticipantView.php @@ -159,7 +159,7 @@ public function preProcess() { $participantCount = array(); foreach ($lineItem as $k => $v) { if (CRM_Utils_Array::value('participant_count', $lineItem[$k]) > 0) { - $participantCount[] = $lineItem['participant_count']; + $participantCount[] = $lineItem[$k]['participant_count']; } } if ($participantCount) {