From: yashodha Date: Thu, 29 Aug 2013 07:06:24 +0000 (+0530) Subject: fix the references PriceFieldValue BAO X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e1c77163b88d552c0e8602a101a2ecb12829d17d;p=civicrm-core.git fix the references PriceFieldValue BAO --- diff --git a/CRM/Contribute/BAO/ContributionPage.php b/CRM/Contribute/BAO/ContributionPage.php index 87ba1cb220..f707edbf26 100644 --- a/CRM/Contribute/BAO/ContributionPage.php +++ b/CRM/Contribute/BAO/ContributionPage.php @@ -57,7 +57,7 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio $dao->save(); if ($financialTypeId && CRM_Utils_Array::value('financial_type_id', $params) && $financialTypeId != $params['financial_type_id']) { - CRM_Price_BAO_FieldValue::updateFinancialType($params['id'], 'civicrm_contribution_page', $params['financial_type_id']); + CRM_Price_BAO_PriceFieldValue::updateFinancialType($params['id'], 'civicrm_contribution_page', $params['financial_type_id']); } return $dao; } diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index 5e913c6a33..90c85c8382 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -114,7 +114,7 @@ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event { } if ($financialTypeId && CRM_Utils_Array::value('financial_type_id', $params) && $financialTypeId != $params['financial_type_id']) { - CRM_Price_BAO_FieldValue::updateFinancialType($params['id'], 'civicrm_event', $params['financial_type_id']); + CRM_Price_BAO_PriceFieldValue::updateFinancialType($params['id'], 'civicrm_event', $params['financial_type_id']); } return $result; }