From 671f71f81f1447ae04b11c6ab14ff98bd7c2b4c9 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Sun, 20 Feb 2022 11:46:32 +0530 Subject: [PATCH] Fix pledge default on contribution page --- CRM/Contribute/Form/ContributionPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/ContributionPage.php b/CRM/Contribute/Form/ContributionPage.php index 4694ee13c5..6af8a60bf9 100644 --- a/CRM/Contribute/Form/ContributionPage.php +++ b/CRM/Contribute/Form/ContributionPage.php @@ -267,7 +267,7 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form { //set defaults for pledgeBlock values. $pledgeBlockParams = [ 'entity_id' => $this->_id, - 'entity_table' => ts('civicrm_contribution_page'), + 'entity_table' => 'civicrm_contribution_page', ]; $pledgeBlockDefaults = []; CRM_Pledge_BAO_PledgeBlock::retrieve($pledgeBlockParams, $pledgeBlockDefaults); -- 2.25.1