From 4364104454f90b0fd8a6bc0f12365613ed1b8424 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 19 Apr 2018 09:47:47 +1000 Subject: [PATCH] revert logic --- booking.emails.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/booking.emails.inc b/booking.emails.inc index aae67f0..74e7ab3 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -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'); }