Skip to content

Commit

Permalink
Fix hard breakage in find participants form when you do a filter on o…
Browse files Browse the repository at this point in the history
…ne event and n participant statues
  • Loading branch information
seamuslee001 committed May 10, 2019
1 parent e768d02 commit 70aa140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Event/Form/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function buildQuickForm() {
$seatClause[] = "( participant.is_test = {$this->_formValues['participant_test']} )";
}
if (!empty($this->_formValues['participant_status_id'])) {
$seatClause[] = CRM_Contact_BAO_Query::buildClause("participant.status_id", '=', $this->_formValues['participant_status_id'], 'Int');
$seatClause[] = CRM_Contact_BAO_Query::buildClause("participant.status_id", 'IN', $this->_formValues['participant_status_id'], 'Int');
if ($status = CRM_Utils_Array::value('IN', $this->_formValues['participant_status_id'])) {
$this->_formValues['participant_status_id'] = $status;
}
Expand Down

0 comments on commit 70aa140

Please sign in to comment.