fix references

This commit is contained in:
Nathan Coad
2016-07-22 09:13:02 +10:00
parent 6836f3bc00
commit ee93be90d8
2 changed files with 4 additions and 4 deletions

View File

@@ -1096,11 +1096,11 @@ function _booking_process_person_payment($person, $payment_amount, $balance_paym
'booking_amount_paid' => $total,
'booking_status' => $status,
))
->condition('nid', $nid)
->condition('nid', $person->nid)
->execute();
//handle workflow emails and spouse payment updates
_booking_postpayment_trigger($nid, $person, $balance_payment);
_booking_postpayment_trigger($person->nid, $person, $balance_payment);
}
/**