X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FParticipant.php;h=7bca68fd963c794449c9b14f04b24a226ce5b249;hb=44994b86e25125c315112fd6f6cef948fbb0b170;hp=84658072215d45fc3b2e46628b55889695948add;hpb=733e67821add3b15d4bc20df931675d2c83e7ede;p=civicrm-core.git diff --git a/api/v3/Participant.php b/api/v3/Participant.php index 8465807221..7bca68fd96 100644 --- a/api/v3/Participant.php +++ b/api/v3/Participant.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | + | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -180,8 +180,11 @@ function civicrm_api3_participant_get($params) { * Array of parameters determined by getfields. */ function _civicrm_api3_participant_get_spec(&$params) { - $params['participant_test']['api.default'] = 0; - $params['participant_test']['title'] = 'Get Test Participants'; + $params['participant_test'] = array( + 'api.default' => 0, + 'title' => 'Get Test Participants', + 'type' => CRM_Utils_Type::T_BOOLEAN, + ); } /**