Merge pull request #24114 from eileenmcnaughton/static
authorcolemanw <coleman@civicrm.org>
Tue, 2 Aug 2022 01:33:16 +0000 (21:33 -0400)
committerGitHub <noreply@github.com>
Tue, 2 Aug 2022 01:33:16 +0000 (21:33 -0400)
Call static function statically

CRM/Contribute/BAO/Contribution.php

index f873545188cdc43b923d8b0dab9e7a88469e8774..183eba33c6e7d5f8c605953ca8f549568db227a8 100644 (file)
@@ -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;
       }