From 5f3d5a7aced8fcaadf19b16e0d39f5ff1050d155 Mon Sep 17 00:00:00 2001 From: Allen Shaw Date: Fri, 26 May 2017 15:31:26 -0500 Subject: [PATCH] Fix CRM-20401: use native CiviCRM recurring links --- CRM/Contribute/BAO/Contribution.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 89bd90869e..d649dd7ba0 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -2467,6 +2467,9 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac $ids['paymentProcessor'] = $paymentProcessorID; $this->_relatedObjects['paymentProcessor'] = $paymentProcessor; } + + // Add contribution id to $ids. CRM-20401 + $ids['contribution'] = $this->id; return TRUE; } -- 2.25.1