bugfix for email preview
This commit is contained in:
@@ -652,7 +652,10 @@ function _booking_email_get_preview_callback($form, $form_state) {
|
||||
case "balance":
|
||||
$text = variable_get('booking_email_paymentoutstanding_text');
|
||||
if (variable_get('booking_enable_combined_pricing', 0) == 1) {
|
||||
$text .= "\n</pre><h3>If married</h3>\n<pre>" . variable_get('booking_email_paymentoutstanding_married_text');
|
||||
$text .= "\n</pre><h3>If married</h3>\n<pre>";
|
||||
$married_text = variable_get('booking_email_paymentoutstanding_married_text');
|
||||
// perform the checking of HTML value now since we're pre-pending text to it
|
||||
$text .= isset($married_text['format']) ? $married_text['value'] : $married_text;
|
||||
}
|
||||
break;
|
||||
case "complete":
|
||||
|
Reference in New Issue
Block a user