diff --git a/booking.emails.inc b/booking.emails.inc index b26b645..60aed36 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -47,6 +47,7 @@ function _booking_registration_email($nid, $balance_payment, $manual = false) { 'body' => _booking_registration_email_generate($node, $waiting_list, $balance_payment, $manual), ) )); + watchdog('booking_debug', "
HTML body themed\n@info", array('@info' => print_r($html_body, true))); $params['body'] = $html_body; if (variable_get('booking_bcc_notify_email_workflow', 0) == 1) { @@ -137,7 +138,7 @@ function _booking_regn_notifyonly_email($node, $balance_payment) { //Use the value of the field if it is an array from a HTML textarea $body = isset($body['format']) ? $body['value'] : $body; - watchdog('booking_debug', "
Email generation:\n@info", array('@info' => print_r( $body, true))); + //watchdog('booking_debug', "
Email generation:\n@info", array('@info' => print_r( $body, true))); //$contact_message .= "\n\n" . t("!details", array('!details' => _booking_details_email_summary($node))); return token_replace($body, $tokens); diff --git a/booking.module b/booking.module index 15b3e27..2aaa34f 100644 --- a/booking.module +++ b/booking.module @@ -877,6 +877,7 @@ function booking_mail($key, &$message, $params) { function booking_mail_alter(&$message) { // $message['id'] comes from {module_name}_{email_key} if($message['id'] == 'booking_registration_mail') { + watchdog('booking_debug', "Message key matched in booking_mail_alter, setting to html email."); $headers = array( 'MIME-Version' => '1.0', 'Content-Type' => 'text/html; charset=UTF-8; format=flowed',