From 5f1991ca05eada9f1f4541ef0810118035ec022f Mon Sep 17 00:00:00 2001 From: JKingsnorth Date: Tue, 23 Dec 2014 10:46:16 +0000 Subject: [PATCH] CRM-15754 Use participant status label --- CRM/Event/BAO/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index 73aba5f889..95c2a8964c 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -1146,7 +1146,7 @@ WHERE civicrm_event.is_active = 1 // CRM-13890 : NOTE wait list condition need to be given so that // wait list message is shown properly in email i.e. WRT online event registration template - if (empty($tplParams['participant_status']) && empty($values['params']['isOnWaitlist'])) { + if (empty($values['params']['isOnWaitlist'])) { $statusId = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Participant', $participantId, 'status_id', 'id'); $tplParams['participant_status'] = CRM_Event_PseudoConstant::participantStatus($statusId, NULL, 'label'); } -- 2.25.1