CRM-19482 Localization for participant status counted and no counted links
authorfrancescbassas <francesc@babu.cat>
Tue, 11 Oct 2016 17:12:19 +0000 (19:12 +0200)
committerGitHub <noreply@github.com>
Tue, 11 Oct 2016 17:12:19 +0000 (19:12 +0200)
CRM/Event/Page/ManageEvent.php

index a661d3ad6b35fce022cd42f97d847b4306eaddf7..65c0a3f2ef7e3e4a598beadcb88a248285e27581 100644 (file)
@@ -385,8 +385,8 @@ ORDER BY start_date desc
     $manageEvent['tab'] = self::tabs($enableCart);
     $this->assign('rows', $manageEvent);
 
-    $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);