Checkstyle fix - one pesky whitespace
[civicrm-core.git] / api / v3 / PledgePayment.php
index 3d4ff21c82c216f91d66812de6fafc56483324fb..aac734ce720d9bcf7aa43b4c4cd9bf2ce445e57f 100644 (file)
@@ -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,
+  );
 }