debugging

This commit is contained in:
2017-06-27 12:43:09 +10:00
parent 39dd2e43b8
commit e589f6b0a5
2 changed files with 3 additions and 1 deletions

View File

@@ -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',