Fixed bug in balance payment email
This commit is contained in:
@@ -127,9 +127,9 @@ function _booking_balance_payment_email($nid)
|
||||
$node = node_load($nid);
|
||||
$tokens = booking_define_personspecific_tokens($node);
|
||||
|
||||
if ($tokens['amount-owing'] <= 0)
|
||||
if ($tokens['payment-required'] <= 0)
|
||||
{
|
||||
watchdog('booking', "Not sending amount owing email, since this person doesnt owe any money: @info", array('@info' => var_export($node, TRUE)));
|
||||
watchdog('booking', "Not sending amount owing email, since this person doesn't owe any money: @info", array('@info' => var_export($node, TRUE)));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user