From e825f029159d81d13f0f0f0a47139fc09706983a Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 3 Jun 2014 23:55:02 +1200 Subject: [PATCH] CRM-14788 declare label as required field --- api/v3/PriceFieldValue.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v3/PriceFieldValue.php b/api/v3/PriceFieldValue.php index bb82de2ec0..97f389608f 100644 --- a/api/v3/PriceFieldValue.php +++ b/api/v3/PriceFieldValue.php @@ -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; } /** -- 2.25.1