From 2b058da6528bb8011c901774c257682aa21adf85 Mon Sep 17 00:00:00 2001 From: eileen Date: Sat, 15 Jun 2019 07:55:53 -0400 Subject: [PATCH] dev/core#1047 Fix instance of null contamination --- 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 3765561e3e..3352e57c75 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -5237,7 +5237,7 @@ LEFT JOIN civicrm_contribution on (civicrm_contribution.contact_id = civicrm_co * @return \CRM_Contribute_BAO_Contribution|null */ private static function getOriginalContribution($contributionID) { - return self::getValues(['id' => $contributionID], CRM_Core_DAO::$_nullArray, CRM_Core_DAO::$_nullArray); + return self::getValues(['id' => $contributionID]); } /** -- 2.25.1