Groups filter hack for smaller groups listings
[civicrm-core.git] / CRM / Contribute / Form / ContributionPage.php
index 4694ee13c5330b6bb624c3b52d58e5f17c63f138..6af8a60bf903587098c4338befb9638077f12f88 100644 (file)
@@ -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);