minor changes
authormonishdeb <monish.deb@webaccessglobal.com>
Wed, 25 Feb 2015 13:53:51 +0000 (19:23 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Wed, 25 Feb 2015 13:53:51 +0000 (19:23 +0530)
CRM/Event/Form/Search.php

index 9c77329ff6d3647d415a50706733d52eb49fd221..25412f9981291a94d7a7d1fdaa138920cfd28bdc 100644 (file)
@@ -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',