From 7d9c9ee56677544ce999a72eddc92667e1a76eac Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Mon, 13 Jun 2016 13:45:22 +1000 Subject: [PATCH] change debug --- booking.emails.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/booking.emails.inc b/booking.emails.inc index fa1ed25..846d95c 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -251,14 +251,14 @@ function _booking_custom_email($nid, $email_type, $sender = 'contact') $email_body_variable = 'booking_email_' . $email_type; if ($sender == 'contact') { - watchdog('booking', 'Sending a custom email from the contact email address.'); + //watchdog('booking', 'Sending a custom email from the contact email address.'); //calculate the from email address for a contact email $from = t('!event Registrations ', array('!event' => $event->booking_eventname, '!email' => variable_get('booking_contact_email', variable_get('site_mail', ini_get('sendmail_from'))) )); } elseif ($sender == 'logistics') { - //watchdog('booking_debug', "
Custom logistics email\n@subject\n@body
", - // array('@subject' => $email_subject_variable, '@body' => $email_body_variable)); + watchdog('booking_debug', "
Custom logistics email\n@subject\n@body
", + array('@subject' => $email_subject_variable, '@body' => $email_body_variable)); //calculate the from email address for a logistics email $from = t('!event Registrations ', array('!event' => $event->booking_eventname, '!email' => variable_get('booking_logistics_email', variable_get('site_mail', ini_get('sendmail_from')))