From b93f17991ace46219d74bd2eef3f1cf849445780 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 2 Aug 2022 06:05:14 +1000 Subject: [PATCH] Call static function statically --- CRM/Contribute/BAO/Contribution.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index f873545188..183eba33c6 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -2327,7 +2327,7 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac // 5) hone up the individual functions to not use rely on this having been called // 6) deprecate like mad if ($loadAll) { - $ids = array_merge($this->getComponentDetails($this->id), $ids); + $ids = array_merge(self::getComponentDetails($this->id), $ids); if (empty($ids['contact']) && isset($this->contact_id)) { $ids['contact'] = $this->contact_id; } -- 2.25.1