dev/core#1047 Fix instance of null contamination
authoreileen <emcnaughton@wikimedia.org>
Sat, 15 Jun 2019 11:55:53 +0000 (07:55 -0400)
committereileen <emcnaughton@wikimedia.org>
Sun, 16 Jun 2019 00:52:57 +0000 (20:52 -0400)
CRM/Contribute/BAO/Contribution.php

index 3765561e3e68deabdbec989b7652b6fa04dd99ac..3352e57c756fb8a57146a9578a8569ac4d1c9d9b 100644 (file)
@@ -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]);
   }
 
   /**