Correct logging message about spouse payments

This commit is contained in:
2014-05-30 10:30:25 +10:00
parent efe71157c7
commit a741cfbdda

View File

@@ -1,7 +1,4 @@
<?php
// $Id: booking.paypal.inc,v 0.1 2011/11/03
function _booking_paypal_post($data = array()) {
$post = '';
@@ -224,8 +221,8 @@ function _booking_process_payment($data) {
//set the spouse's payment required to be zero or equal to their previous payment total
$spouse_new_amount_reqd = $spouse->booking_amount_paid > 0 ? $spouse->booking_amount_paid : 0;
watchdog('booking', 'Setting amount owing for spouse id !id to !new from !status', array('!id' => $spouse_new_amount_reqd,
'!new' => $spouse_status, '!status' => $spouse->booking_amount_paid));
watchdog('booking', 'Setting amount owing for spouse id !id to !new from !old.', array('!id' => $person->booking_partner_id,
'!new' => $spouse_new_amount_reqd, '!old' => $spouse->booking_total_pay_reqd));
//update the database for this person
db_update('booking_person')