Fix pledge on contribution page
authorJitendra Purohit <jitendra@fuzion.co.nz>
Fri, 18 Dec 2020 04:43:03 +0000 (10:13 +0530)
committerJitendra Purohit <jitendra@fuzion.co.nz>
Fri, 18 Dec 2020 04:43:03 +0000 (10:13 +0530)
CRM/Contribute/Form/ContributionPage/Amount.php

index 16fdf6324518178d22b942ab83b19d7ed1efbf6a..7aca7aac4fa75fdd73012287d10c11f5273fabb7 100644 (file)
@@ -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;