Bugfix in not coming email
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user