CRM-12108 noticed type on 'skipDefault' was wrong
authoreileen <eileen@fuzion.co.nz>
Tue, 30 Jul 2013 00:42:54 +0000 (12:42 +1200)
committereileen <eileen@fuzion.co.nz>
Thu, 1 Aug 2013 19:56:54 +0000 (07:56 +1200)
api/v3/Contribution.php

index cca3439006f1c2abc42d35f7d9712896edf23708..10e29f88e237d023812b57a6febe1bbc2d46aeb7 100644 (file)
@@ -124,7 +124,7 @@ function _civicrm_api3_contribution_create_spec(&$params) {
   $params['skipRecentView'] = array(
     'name' => 'skipRecentView',
     'title' => 'Skip adding to recent view',
-    'type' => 1,
+    'type' => CRM_Utils_Type::T_BOOLEAN,
     'description' => 'Do not add to recent view (setting this improves performance)',
   );
   $params['skipLineItem'] = array(