From 23f7a79314169368a5e209f2f1ad36636b939f9e Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 30 Jan 2014 11:07:57 +1100 Subject: [PATCH] Bugfix in not coming email --- booking.emails.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/booking.emails.inc b/booking.emails.inc index a9b4db2..3224af5 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -19,7 +19,7 @@ //load the node matching this id $node = node_load($nid); - watchdog('booking', 'Sending registration email to !first !last', array('!first' => $node->booking_firstname, '!last' => $node->booking_lastname)); + watchdog('booking', 'Sending notification email to !first !last', array('!first' => $node->booking_firstname, '!last' => $node->booking_lastname)); //waiting list has already been calculated, stored in node $waiting_list = $node->booking_status == 2 ? TRUE : FALSE; @@ -260,7 +260,7 @@ function _booking_demoted_to_notcoming_email($nid) //calculate the remaining parameters $to = $node->booking_email; - $subject = token_replace(variable_get($booking_email_notcoming_demotion_subject, t('!event', array('!event' => $event->booking_eventname))), $tokens); + $subject = token_replace(variable_get('booking_email_notcoming_demotion_subject', t('!event', array('!event' => $event->booking_eventname))), $tokens); //$subject = t('!event withdrawal confirmation', array('!event' => $event->booking_eventname)); $params['subject'] = $subject;