Skip to content
Snippets Groups Projects
Commit e0a77de5 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #152 from davecivicrm/CRM-12013

Fix notice due to missing param in foreach loop on lineItem array in ParticipantView::preProcess().
parents 8347b9cf aa4bb8d2
Branches
Tags
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment