CRM-16189, make static variable null once financial accounting are recorded successfully
authorPradeep Nayak <pradpnayak@gmail.com>
Thu, 22 Sep 2016 12:20:17 +0000 (17:50 +0530)
committerPradeep Nayak <pradpnayak@gmail.com>
Sun, 25 Sep 2016 21:22:31 +0000 (02:52 +0530)
----------------------------------------
* CRM-16189: Improve support for Accrual Method bookkeeping
  https://issues.civicrm.org/jira/browse/CRM-16189

CRM/Contribute/BAO/Contribution.php

index 8da6c326feb9444af5ca1b9ea84c7b0c274b8881..d09da4fee83d39e2c4fc964068bfe8ab5d176a44 100644 (file)
@@ -3400,7 +3400,7 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac
       CRM_Event_BAO_Participant::createDiscountTrxn($eventID, $params, $feeLevel);
     }
     unset($params['line_item']);
-
+    self::$_trxnIDs = NULL;
     return $return;
   }