CRM-14788 declare label as required field
authorEileen McNaughton <eileen@fuzion.co.nz>
Tue, 3 Jun 2014 11:55:02 +0000 (23:55 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Tue, 3 Jun 2014 11:55:02 +0000 (23:55 +1200)
api/v3/PriceFieldValue.php

index bb82de2ec0c411b18fa9acae45e9c3e8f7e87440..97f389608f955a304334a78b41bb6e039578ce58 100644 (file)
@@ -68,6 +68,7 @@ function civicrm_api3_price_field_value_create($params) {
  */
 function _civicrm_api3_price_field_value_create_spec(&$params) {
   $params['price_field_id']['api.required'] = TRUE;
+  $params['label']['api.required'] = TRUE;
 }
 
 /**