From 9250a1b73c30b4cbd1bb32e93e4f5692382ec489 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Sun, 21 Feb 2016 20:43:39 +1100 Subject: [PATCH] Fix reference to variable not in scope --- booking.helper.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/booking.helper.inc b/booking.helper.inc index 5177002..c3081e8 100644 --- a/booking.helper.inc +++ b/booking.helper.inc @@ -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