From: monishdeb Date: Thu, 6 Nov 2014 08:06:04 +0000 (+0530) Subject: CRM-15565 fix - Participent.Get api break for participant_id using IN operator X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=38033680db3af1a675e2c92282598fa0cb24b889;p=civicrm-core.git CRM-15565 fix - Participent.Get api break for participant_id using IN operator https://issues.civicrm.org/jira/browse/CRM-15565 --- 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;