This commit is contained in:
Nathan Coad
2018-06-16 18:18:24 +10:00
parent e86ec94bb3
commit be5d1e8c2f
2 changed files with 2 additions and 1 deletions

View File

@@ -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;

View File

@@ -980,7 +980,7 @@ function booking_mail($key, &$message, $params) {
$message['params']['attachments'][] = $params['attachment'];
}
//watchdog('booking_debug', "<pre>Mail hook:\n@info</pre>", array('@info' => print_r( $message, true)));
watchdog('booking_debug', "<pre>Mail hook:\n@info</pre>", array('@info' => print_r( $message, true)));
}
/**