From eb9fa017b4d8f02c8e9f838bdad3ef90dad0254c Mon Sep 17 00:00:00 2001 From: Jitendra Purohit Date: Fri, 18 Dec 2020 10:13:03 +0530 Subject: [PATCH] Fix pledge on contribution page --- CRM/Contribute/Form/ContributionPage/Amount.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/ContributionPage/Amount.php b/CRM/Contribute/Form/ContributionPage/Amount.php index 16fdf63245..7aca7aac4f 100644 --- a/CRM/Contribute/Form/ContributionPage/Amount.php +++ b/CRM/Contribute/Form/ContributionPage/Amount.php @@ -752,7 +752,7 @@ class CRM_Contribute_Form_ContributionPage_Amount extends CRM_Contribute_Form_Co $deletePledgeBlk = FALSE; $pledgeBlockParams = [ 'entity_id' => $contributionPageID, - 'entity_table' => ts('civicrm_contribution_page'), + 'entity_table' => 'civicrm_contribution_page', ]; if ($this->_pledgeBlockID) { $pledgeBlockParams['id'] = $this->_pledgeBlockID; -- 2.25.1