diff --git a/booking.emails.inc b/booking.emails.inc index 25864cc..b26b645 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -135,6 +135,8 @@ function _booking_regn_notifyonly_email($node, $balance_payment) { //$contact_message = token_replace(variable_get('booking_email_waitinglist_text'), $tokens); } + //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))); //$contact_message .= "\n\n" . t("!details", array('!details' => _booking_details_email_summary($node))); return token_replace($body, $tokens);