Added logging when we send the married couple email
This commit is contained in:
@@ -146,6 +146,7 @@ function _booking_balance_payment_email($nid)
|
|||||||
//retrieve the body of the email for a married couple only if we're combining pricing for couples
|
//retrieve the body of the email for a married couple only if we're combining pricing for couples
|
||||||
if (variable_get('booking_enable_combined_pricing', 0) == 1 && $node->booking_partner_id > 0)
|
if (variable_get('booking_enable_combined_pricing', 0) == 1 && $node->booking_partner_id > 0)
|
||||||
{
|
{
|
||||||
|
watchdog('booking', "Sending the married-couple specific outstanding balance email for this person: @info", array('@info' => var_export($node, TRUE)));
|
||||||
$params['body'] = token_replace(variable_get('booking_email_paymentoutstanding_married_text'), $tokens);
|
$params['body'] = token_replace(variable_get('booking_email_paymentoutstanding_married_text'), $tokens);
|
||||||
}
|
}
|
||||||
//otherwise retrieve the body of the email for individuals
|
//otherwise retrieve the body of the email for individuals
|
||||||
|
Reference in New Issue
Block a user