CRM-19260, fixed function name
authorPradeep Nayak <pradpnayak@gmail.com>
Fri, 26 Aug 2016 05:51:45 +0000 (11:21 +0530)
committerPradeep Nayak <pradpnayak@gmail.com>
Fri, 26 Aug 2016 05:51:45 +0000 (11:21 +0530)
----------------------------------------
* CRM-19260: Fatal Error on View Contribution
  https://issues.civicrm.org/jira/browse/CRM-19260

CRM/Contribute/Form/ContributionView.php

index 9a5a63b0e54b18ad8d9fafb6a48f6c2f37312847..2f001debd8089d677f08cbb91aaf14c43010e226 100644 (file)
@@ -167,7 +167,7 @@ class CRM_Contribute_Form_ContributionView extends CRM_Core_Form {
       $values['campaign'] = $campaigns[$campaignId];
     }
     if ($values['contribution_status'] == 'Refunded') {
-      $this->assign('refund_trxn_id', CRM_Core_BAO_FinancialTrxn::getRefundTransactionTrxnIDgi($id));
+      $this->assign('refund_trxn_id', CRM_Core_BAO_FinancialTrxn::getRefundTransactionTrxnID($id));
     }
 
     // assign values to the template