X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FPriceField.php;h=cb6fc1e77d9b3fc0c31c104730f8c91773dce247;hb=af8b12dbd37b41a0fec3db2b5d1f23e0b0430649;hp=7901b7dd5e4657dd81fbaedc0f86d2e8ecdd5993;hpb=c90a093af5607c80a76a7af50f76d2c1d5bf4f37;p=civicrm-core.git diff --git a/api/v3/PriceField.php b/api/v3/PriceField.php index 7901b7dd5e..cb6fc1e77d 100644 --- a/api/v3/PriceField.php +++ b/api/v3/PriceField.php @@ -2,7 +2,7 @@ /* /* +--------------------------------------------------------------------+ - | CiviCRM version 4.5 | + | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ @@ -57,6 +57,7 @@ function civicrm_api3_price_field_create($params) { * @param array $params array or parameters determined by getfields */ function _civicrm_api3_price_field_create_spec(&$params) { + $params['label']['api.required'] = TRUE; } /** @@ -82,7 +83,7 @@ function civicrm_api3_price_field_get($params) { * @param array $params array containing id of the group * to be deleted * - * @return array returns flag true if successfull, error message otherwise + * @return array API result array * {@getfields price_field_delete} * @access public */