X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FContactType.php;h=709bb9e2fa4fa73dec4cd4af7e2e2bf342fff8b5;hb=851aa40672c19c64d6a64cfcc6db776852c5f093;hp=4c67674d3d8bb2607640c883434644b777282b03;hpb=fe1f07566a533c23e40b453bf6eb8972d46c6e5a;p=civicrm-core.git diff --git a/api/v3/ContactType.php b/api/v3/ContactType.php index 4c67674d3d..709bb9e2fa 100644 --- a/api/v3/ContactType.php +++ b/api/v3/ContactType.php @@ -49,7 +49,7 @@ * ContactType array */ function civicrm_api3_contact_type_create($params) { - civicrm_api3_verify_mandatory($params, _civicrm_api3_get_DAO(__FUNCTION__), array('name', 'parent_id')); + civicrm_api3_verify_mandatory($params, _civicrm_api3_get_DAO(__FUNCTION__), ['name', 'parent_id']); if (empty($params['id'])) { if (!array_key_exists('label', $params)) {