notice fixes
authorkurund <kurund@civicrm.org>
Mon, 12 Aug 2013 17:55:36 +0000 (23:25 +0530)
committerkurund <kurund@civicrm.org>
Mon, 12 Aug 2013 17:55:36 +0000 (23:25 +0530)
CRM/Contribute/BAO/Contribution.php

index e09fcf50838d432eb6eb78daa7b33a736b6c1a31..443c5cb8657fc0b4b780f2fdf066ef0b8479caf0 100644 (file)
@@ -1633,7 +1633,7 @@ LEFT JOIN  civicrm_contribution contribution ON ( componentPayment.contribution_
   /**
    * This function returns all contribution related object ids.
    */
-  function getComponentDetails($contributionId) {
+  public static function getComponentDetails($contributionId) {
     $componentDetails = $pledgePayment = array();
     if (!$contributionId) {
       return $componentDetails;