X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FPage%2FEventInfo.php;h=a6e5744976b9ae5586040883c52b7eca527065c4;hb=da7a33feb6f28d09a8b2de93cb702b43ed484851;hp=e5011dcc8a06c5e25ff5915e2a9f5f1c98d47b98;hpb=03298d98322f2da05e2ab30cb0e2d5b90df47ab3;p=civicrm-core.git diff --git a/CRM/Event/Page/EventInfo.php b/CRM/Event/Page/EventInfo.php index e5011dcc8a..a6e5744976 100644 --- a/CRM/Event/Page/EventInfo.php +++ b/CRM/Event/Page/EventInfo.php @@ -225,8 +225,8 @@ class CRM_Event_Page_EventInfo extends CRM_Core_Page { if (CRM_Core_Permission::check('view event participants') && CRM_Core_Permission::check('view all contacts') ) { - $statusTypes = CRM_Event_PseudoConstant::participantStatus(NULL, 'is_counted = 1'); - $statusTypesPending = CRM_Event_PseudoConstant::participantStatus(NULL, 'is_counted = 0'); + $statusTypes = CRM_Event_PseudoConstant::participantStatus(NULL, 'is_counted = 1', 'label'); + $statusTypesPending = CRM_Event_PseudoConstant::participantStatus(NULL, 'is_counted = 0', 'label'); $findParticipants['statusCounted'] = implode(', ', array_values($statusTypes)); $findParticipants['statusNotCounted'] = implode(', ', array_values($statusTypesPending)); $this->assign('findParticipants', $findParticipants);