Fix reference to variable not in scope

This commit is contained in:
2016-02-21 20:43:39 +11:00
parent f122219305
commit 9250a1b73c

View File

@@ -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
{
watchdog('booking', 'This balance payment of !payment was insufficient for !id to completely pay the total outstanding of !outstanding.',
array('!id' => $nid, '!payment' => $data['mc_gross'], '!outstanding' => $amount_owing));
watchdog('booking', 'This balance payment was insufficient for !id to completely pay the total outstanding of !outstanding.',
array('!id' => $nid, '!outstanding' => $amount_owing));
//send the person an email thanking them for their partial payment
_booking_partialbalance_payment_email($nid);
//TODO: create an email specifically for partial-balance payments