From: deb.monish Date: Fri, 12 Aug 2016 07:26:22 +0000 (+0530) Subject: CRM-19220: iAmAnIntentionalENoticeThatWarnsOfAProblemYouShouldReport in Find Participants X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e53260767e2af775c2b1229c7bfba4d53f4d6320;p=civicrm-core.git CRM-19220: iAmAnIntentionalENoticeThatWarnsOfAProblemYouShouldReport in Find Participants --- diff --git a/CRM/Event/Form/Search.php b/CRM/Event/Form/Search.php index f7a021aeb0..bb5d79940d 100644 --- a/CRM/Event/Form/Search.php +++ b/CRM/Event/Form/Search.php @@ -430,7 +430,7 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { elseif (is_array($status) && !array_key_exists('IN', $status)) { $statusTypes = array_keys($status); } - $this->_formValues['participant_status_id'] = is_array($statusTypes) ? array_keys($statusTypes) : $statusTypes; + $this->_formValues['participant_status_id'] = is_array($statusTypes) ? array('IN' => array_keys($statusTypes)) : $statusTypes; } $role = CRM_Utils_Request::retrieve('role', 'String',