From 38033680db3af1a675e2c92282598fa0cb24b889 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Thu, 6 Nov 2014 13:36:04 +0530 Subject: [PATCH] CRM-15565 fix - Participent.Get api break for participant_id using IN operator https://issues.civicrm.org/jira/browse/CRM-15565 --- CRM/Event/BAO/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/BAO/Query.php b/CRM/Event/BAO/Query.php index 3e4873a602..175017c14d 100644 --- a/CRM/Event/BAO/Query.php +++ b/CRM/Event/BAO/Query.php @@ -417,7 +417,7 @@ class CRM_Event_BAO_Query { return; case 'participant_id': - $query->_where[$grouping][] = "civicrm_participant.id $op $value"; + $query->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause("civicrm_participant.id", $op, $value, "Integer"); $query->_tables['civicrm_participant'] = $query->_whereTables['civicrm_participant'] = 1; return; -- 2.25.1