X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FPledgePayment.php;h=aac734ce720d9bcf7aa43b4c4cd9bf2ce445e57f;hb=cc7968d8a8cc3b6008257018642334d5424be8d9;hp=3d4ff21c82c216f91d66812de6fafc56483324fb;hpb=244bbdd85415317b95f70bf85a3ecb036c4fe840;p=civicrm-core.git diff --git a/api/v3/PledgePayment.php b/api/v3/PledgePayment.php index 3d4ff21c82..aac734ce72 100644 --- a/api/v3/PledgePayment.php +++ b/api/v3/PledgePayment.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. | | | @@ -126,5 +126,9 @@ function civicrm_api3_pledge_payment_get($params) { * 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, + ); }