From: eileen Date: Sat, 15 Jun 2019 11:55:53 +0000 (-0400) Subject: dev/core#1047 Fix instance of null contamination X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2b058da6528bb8011c901774c257682aa21adf85;p=civicrm-core.git dev/core#1047 Fix instance of null contamination --- 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]); } /**