test
This commit is contained in:
@@ -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;
|
||||
|
@@ -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)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user