revert logic

This commit is contained in:
Nathan Coad
2018-04-19 09:47:47 +10:00
parent fc05fb9e4e
commit 4364104454

View File

@@ -390,7 +390,7 @@ function _booking_promoted_from_waitinglist_email($nid) {
$params['headers']['Bcc'] = BOOKING_EMAIL_DEV_NOTIFY;
}
if ($tokens['payment-required'] >= 0) {
if ($tokens['payment-required'] == 0) {
watchdog('booking_debug', 'This person has fully paid so sending Not sending promoted-from-waitinglist-fullypaid email.');
$message_body = variable_get('booking_email_waitinglistpromotion_fullypaid');
}