From 4d0657cc854474987c42f79307d07864c68d1623 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Wed, 25 Feb 2015 19:23:51 +0530 Subject: [PATCH] minor changes --- CRM/Event/Form/Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/Form/Search.php b/CRM/Event/Form/Search.php index 9c77329ff6..25412f9981 100644 --- a/CRM/Event/Form/Search.php +++ b/CRM/Event/Form/Search.php @@ -409,7 +409,7 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { elseif (is_numeric($role)) { $roleTypes = (int) $role; } - $this->_formValues['participant_role_id'] = $roleTypes; + $this->_formValues['participant_role_id'] = array_keys($roleTypes); } $type = CRM_Utils_Request::retrieve('type', 'Positive', -- 2.25.1