change link tokens to href if html email enabled

This commit is contained in:
Nathan Coad
2018-01-15 23:08:59 +11:00
parent 46180afaeb
commit 0f2e415baf
3 changed files with 24 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ function _booking_generate_html_body($subject, $body, $tokens) {
$output_text = "";
//Check if we should apply a HTML theme to the email text or just send a normal email
if(variable_get('booking_enable_html_mail', 0) == 1) {
if (variable_get('booking_enable_html_mail', 0) == 1) {
//get the footer text
$message_footer = variable_get('booking_html_mail_footer');
$message_footer = isset($message_footer['format']) ? $message_footer['value'] : $message_footer;