This commit is contained in:
2017-06-27 12:48:55 +10:00
parent e589f6b0a5
commit 9fd05f98da
2 changed files with 8 additions and 4 deletions

View File

@@ -43,10 +43,14 @@ function _booking_registration_email($nid, $balance_payment, $manual = false) {
//apply a theme to the HTML body of the email
$html_body = theme('booking_htmlmail_template',
array('variables' => array(
'body' => _booking_registration_email_generate($node, $waiting_list, $balance_payment, $manual),
array(
'module' => 'booking',
'key' => 'registration_mail',
'variables' => array(
'body' => _booking_registration_email_generate($node, $waiting_list, $balance_payment, $manual),
)
)
));
);
watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
$params['body'] = $html_body;