Merge pull request #1230 from davecivicrm/CRM-13107
[civicrm-core.git] / api / v3 / UFField.php
index 5c2293b5429138caae67c4991d7f8c5d4ac5505d..86522551e66858d92e1de5af5dc4ffe7f5fa7a6d 100644 (file)
@@ -114,7 +114,7 @@ function civicrm_api3_uf_field_create($params) {
 function _civicrm_api3_uf_field_create_spec(&$params) {
   $params['option.autoweight'] = array(
     'title' => "Automatically adjust weights in UFGroup to align with UFField",
-    'type' => CRM_Utils_Type::T_BOOL
+    'type' => CRM_Utils_Type::T_BOOLEAN
   );
 }