+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
* Modifiable list of fields allowed for the PledgePayment.get action.
*/
function civicrm_api3_pledge_payment_get_spec(&$params) {
- $params['option.create_new'] = array('title' => "Create new field rather than update an unpaid payment");
+ $params['option.create_new'] = array(
+ 'title' => "Create New",
+ 'description' => "Create new field rather than update an unpaid payment",
+ 'type' => CRM_Utils_Type::T_BOOLEAN,
+ );
}