minor fix
authoryashodha <yashodha.chaku@webaccessglobal.com>
Wed, 9 Sep 2015 10:56:37 +0000 (16:26 +0530)
committeryashodha <yashodha.chaku@webaccessglobal.com>
Wed, 9 Sep 2015 10:56:37 +0000 (16:26 +0530)
CRM/Contribute/BAO/Contribution.php

index 861b6494e9a9565db12941d64ae01e73099136c4..4948277e657e9e3a354d9ddcca0c7e9b4201f7a8 100644 (file)
@@ -4130,7 +4130,7 @@ WHERE con.id = {$contributionId}
         $values['receipt_from_email'] = $domainValues[1];
       }
 
-      if (empty($values['receive_date']) && $changeDate) {
+      if (empty($contributionParams['receive_date']) && $changeDate) {
         $contributionParams['receive_date'] = $changeDate;
       }