projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
5c969da
)
Merge pull request #18936 from eileenmcnaughton/ppp
author
Matthew Wire
<mjw@mjwconsult.co.uk>
Sun, 8 Nov 2020 14:45:48 +0000
(14:45 +0000)
committer
GitHub
<noreply@github.com>
Sun, 8 Nov 2020 14:45:48 +0000
(14:45 +0000)
[Ref] Use variables directly
CRM/Core/Payment/PayPalProIPN.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Payment/PayPalProIPN.php
b/CRM/Core/Payment/PayPalProIPN.php
index 61c86b269e6649fb51c1187edf6cd530266b0445..d6f44109d6465a076c35b57ccf61c4745c31d49e 100644
(file)
--- a/
CRM/Core/Payment/PayPalProIPN.php
+++ b/
CRM/Core/Payment/PayPalProIPN.php
@@
-280,8
+280,8
@@
class CRM_Core_Payment_PayPalProIPN extends CRM_Core_Payment_BaseIPN {
$this->single($input, [
'related_contact' => $ids['related_contact'] ?? NULL,
- 'participant' =>
!empty($objects['participant']) ? $objects['participant']->id :
NULL,
- 'contributionRecur' =>
!empty($objects['contributionRecur']) ? $objects['contributionRecur']->id :
NULL,
+ 'participant' =>
$ids['participant'] ??
NULL,
+ 'contributionRecur' =>
$recur->id ??
NULL,
], $objects, TRUE, $first);
}