From e276cab35ba71d7147c8d78a66628e886780bc42 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Tue, 15 Sep 2015 12:28:52 +0530 Subject: [PATCH] minor fix --- 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 528582c24f..07fd6ef49f 100644 --- a/CRM/Price/BAO/PriceFieldValue.php +++ b/CRM/Price/BAO/PriceFieldValue.php @@ -57,7 +57,7 @@ class CRM_Price_BAO_PriceFieldValue extends CRM_Price_DAO_PriceFieldValue { if ($id = CRM_Utils_Array::value('id', $ids)) { $fieldValueBAO->id = $id; $prevLabel = self::getOptionLabel($id); - if ($prevLabel != $params['label']) { + if (!empty($params['label']) && $prevLabel != $params['label']) { self::updateAmountAndFeeLevel($id, $prevLabel, $params['label']); } } -- 2.25.1