projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
3be6481
)
Merge pull request #24114 from eileenmcnaughton/static
author
colemanw
<coleman@civicrm.org>
Tue, 2 Aug 2022 01:33:16 +0000
(21:33 -0400)
committer
GitHub
<noreply@github.com>
Tue, 2 Aug 2022 01:33:16 +0000
(21:33 -0400)
Call static function statically
CRM/Contribute/BAO/Contribution.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contribute/BAO/Contribution.php
b/CRM/Contribute/BAO/Contribution.php
index f873545188cdc43b923d8b0dab9e7a88469e8774..183eba33c6e7d5f8c605953ca8f549568db227a8 100644
(file)
--- 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;
}