From 16ce694f53020ff3df61a415ad459b6c5f5b4622 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Mon, 15 Jun 2015 16:13:58 +0530 Subject: [PATCH] CRM-16666 - Custom participant statuses do not print in email confirmation --- CRM/Contact/BAO/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index 226a664c70..0ab020ddc3 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -5582,7 +5582,7 @@ AND displayRelType.is_active = 1 // handles pseudoconstant fixes for all component elseif (in_array($value['pseudoField'], array('participant_status', 'participant_role'))) { $pseudoOptions = $viewValues = array(); - $pseudoOptions = CRM_Core_PseudoConstant::get('CRM_Event_DAO_Participant', $value['pseudoField'], array('flip' => 1)); + $pseudoOptions = CRM_Core_PseudoConstant::get('CRM_Event_DAO_Participant', $value['idCol']); foreach (explode(CRM_Core_DAO::VALUE_SEPARATOR, $val) as $k => $v) { $viewValues[] = $pseudoOptions[$v]; } -- 2.25.1