From: kurund Date: Mon, 12 Aug 2013 17:55:36 +0000 (+0530) Subject: notice fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=291ca04f665c9601a854a0d0a74e86bbc53ed982;p=civicrm-core.git notice fixes --- diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index e09fcf5083..443c5cb865 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -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;