From aa4bb8d2628e625243dd9ad3cbcef8bb1cbe383a Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Thu, 14 Mar 2013 15:03:58 -0700 Subject: [PATCH] Fix notice due to missing param in array loop. --- CRM/Event/Form/ParticipantView.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/Form/ParticipantView.php b/CRM/Event/Form/ParticipantView.php index 49cd4249f0..3711d19f3c 100644 --- a/CRM/Event/Form/ParticipantView.php +++ b/CRM/Event/Form/ParticipantView.php @@ -159,7 +159,7 @@ class CRM_Event_Form_ParticipantView extends CRM_Core_Form { $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) { -- 2.25.1