CRM-12768 custom_file api -default type to 'String' for clarity & enotice
authoreileen <eileen@fuzion.co.nz>
Thu, 6 Jun 2013 06:27:31 +0000 (18:27 +1200)
committereileen <eileen@fuzion.co.nz>
Thu, 6 Jun 2013 06:27:31 +0000 (18:27 +1200)
api/v3/CustomField.php

index 7eeda3daf2b330199c748b81ca23efc96e3ccb74..aa1fd3aca49a9641d33757e3db0890391f2208cc 100644 (file)
@@ -93,6 +93,7 @@ function _civicrm_api3_custom_field_create_spec(&$params) {
     'api.default' => 1,
     'type' => CRM_Utils_Type::T_BOOL,
   );
+  $params['data_type']['api.default'] = 'String';
 }
 
 /**