Skip to content

Commit

Permalink
CRM-16189 Fixed participant payment bug
Browse files Browse the repository at this point in the history
----------------------------------------
* CRM-16189: Improve support for Accrual Method bookkeeping
  https://issues.civicrm.org/jira/browse/CRM-16189
  • Loading branch information
Edzelopez committed Dec 19, 2016
1 parent 8e50d64 commit 545ca07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contribute/BAO/Contribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -3785,7 +3785,7 @@ public static function recordAdditionalPayment($contributionId, $trxnsData, $pay
$defaults = array();
$contributionDAO = CRM_Contribute_BAO_Contribution::retrieve($getInfoOf, $defaults, CRM_Core_DAO::$_nullArray);
if (!$participantId) {
$participantId = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_ParticipantPayment', $contributionId, 'participant_id');
$participantId = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_ParticipantPayment', $contributionId, 'participant_id', 'contribution_id');
}

if ($paymentType == 'owed') {
Expand Down

0 comments on commit 545ca07

Please sign in to comment.