From d36a6185d1f96566e6706738f694b4758df4f227 Mon Sep 17 00:00:00 2001 From: Edsel Date: Thu, 3 Mar 2016 18:41:30 +0530 Subject: [PATCH] CRM-18149 Added extra condition for entity_table ---------------------------------------- * CRM-18149: Retrieval of On Behalf profiles for contributions from civicrm_uf_join needs to be more specifc https://issues.civicrm.org/jira/browse/CRM-18149 --- CRM/Contribute/Form/ContributionPage/Settings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Contribute/Form/ContributionPage/Settings.php b/CRM/Contribute/Form/ContributionPage/Settings.php index 4e7e883cc3..6efc73568e 100644 --- a/CRM/Contribute/Form/ContributionPage/Settings.php +++ b/CRM/Contribute/Form/ContributionPage/Settings.php @@ -57,6 +57,7 @@ class CRM_Contribute_Form_ContributionPage_Settings extends CRM_Contribute_Form_ $ufJoinDAO = new CRM_Core_DAO_UFJoin(); $ufJoinDAO->module = $module; $ufJoinDAO->entity_id = $this->_id; + $ufJoinDAO->entity_table = 'civicrm_contribution_page'; if ($ufJoinDAO->find(TRUE)) { $jsonData = CRM_Contribute_BAO_ContributionPage::formatModuleData($ufJoinDAO->module_data, TRUE, $module); if ($module == 'soft_credit') { -- 2.25.1