CRM-13973-qa : fix for bug reported by coleman #comment-58354
authorPratik Joshi <pratik.joshi@webaccess.co.in>
Sun, 16 Mar 2014 05:12:43 +0000 (10:42 +0530)
committerPratik Joshi <pratik.joshi@webaccess.co.in>
Sun, 16 Mar 2014 05:12:43 +0000 (10:42 +0530)
CRM/Contribute/BAO/Contribution.php

index 4d04deb183df387dd02184dd59f597383fa40685..0dba08759b4854a04c20b0e0be7f1f6d8a0f5dc7 100644 (file)
@@ -3153,7 +3153,7 @@ WHERE eft.financial_trxn_id IN ({$trxnId}, {$baseTrxnId['financialTrxnId']})
     CRM_Activity_BAO_Activity::create($activityParams);
   }
 
-  function getPaymentInfo($id, $component, $getTrxnInfo = FALSE, $usingLineTotal = FALSE) {
+  static function getPaymentInfo($id, $component, $getTrxnInfo = FALSE, $usingLineTotal = FALSE) {
     if ($component == 'event') {
       $entity = 'participant';
       $entityTable = 'civicrm_participant';