From be5d1e8c2f8801d2b4d5ef953949e17b44c72e0d Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Sat, 16 Jun 2018 18:18:24 +1000 Subject: [PATCH] test --- booking.emails.inc | 1 + booking.module | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/booking.emails.inc b/booking.emails.inc index 5e993c5..148e9fe 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -307,6 +307,7 @@ function _booking_custom_email($nid, $email_type, $sender = 'contact') { global $event; global $user; $language = user_preferred_language($user); + $params = array(); //calculate the drupal variables to use $email_subject_variable = 'booking_email_subject_' . $email_type; diff --git a/booking.module b/booking.module index e5d0569..7a470e9 100644 --- a/booking.module +++ b/booking.module @@ -980,7 +980,7 @@ function booking_mail($key, &$message, $params) { $message['params']['attachments'][] = $params['attachment']; } - //watchdog('booking_debug', "
Mail hook:\n@info
", array('@info' => print_r( $message, true))); + watchdog('booking_debug', "
Mail hook:\n@info
", array('@info' => print_r( $message, true))); } /**