CRM-16666 - Custom participant statuses do not print in email confirmation
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 15 Jun 2015 10:43:58 +0000 (16:13 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 15 Jun 2015 10:43:58 +0000 (16:13 +0530)
CRM/Contact/BAO/Query.php

index 226a664c700bfe7855ff4d551708ad0791d51029..0ab020ddc350633731a7b6dc5fed3e57f5aeea5b 100644 (file)
@@ -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];
           }