From 183a06101c7cdc6ef2d38c62149ae1b263333086 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 23 Jul 2015 20:52:01 +1200 Subject: [PATCH] fix enotice when price_field is not passed in --- CRM/Price/BAO/PriceFieldValue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Price/BAO/PriceFieldValue.php b/CRM/Price/BAO/PriceFieldValue.php index 80adef24a4..8b9b12e294 100644 --- a/CRM/Price/BAO/PriceFieldValue.php +++ b/CRM/Price/BAO/PriceFieldValue.php @@ -65,7 +65,7 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue { $fieldValueBAO->save(); // Reset the cached values in this function. - CRM_Price_BAO_PriceField::getOptions($params['price_field_id'], FALSE, TRUE); + CRM_Price_BAO_PriceField::getOptions(CRM_Utils_Array::value('price_field_id', $params), FALSE, TRUE); return $fieldValueBAO; } -- 2.25.1