Merge pull request #1382 from swati-karande/CRM-13146
[civicrm-core.git] / api / v3 / CustomField.php
index 300f0d72e672db08af9f6f8b0a0212d05672b1b8..10d7fedead2057cb0a21a19f5cdba5a6d87e06dd 100644 (file)
@@ -92,7 +92,7 @@ function _civicrm_api3_custom_field_create_spec(&$params) {
   $params['option_type'] = array(
     'title' => 'This (boolean) field tells the BAO to create an option group for the field if the field type is appropriate',
     'api.default' => 1,
-    'type' => CRM_Utils_Type::T_BOOL,
+    'type' => CRM_Utils_Type::T_BOOLEAN,
   );
   $params['data_type']['api.default'] = 'String';
   $params['is_active']['api.default'] = 1;