Fix reference to variable not in scope
This commit is contained in:
@@ -1176,8 +1176,8 @@ function _booking_postpayment_trigger($nid, $person, $balance_payment)
|
|||||||
}
|
}
|
||||||
else //this person still has an outstanding balance so just send a confirmation email
|
else //this person still has an outstanding balance so just send a confirmation email
|
||||||
{
|
{
|
||||||
watchdog('booking', 'This balance payment of !payment was insufficient for !id to completely pay the total outstanding of !outstanding.',
|
watchdog('booking', 'This balance payment was insufficient for !id to completely pay the total outstanding of !outstanding.',
|
||||||
array('!id' => $nid, '!payment' => $data['mc_gross'], '!outstanding' => $amount_owing));
|
array('!id' => $nid, '!outstanding' => $amount_owing));
|
||||||
//send the person an email thanking them for their partial payment
|
//send the person an email thanking them for their partial payment
|
||||||
_booking_partialbalance_payment_email($nid);
|
_booking_partialbalance_payment_email($nid);
|
||||||
//TODO: create an email specifically for partial-balance payments
|
//TODO: create an email specifically for partial-balance payments
|
||||||
|
Reference in New Issue
Block a user