From ddc3a8c358084c6b6834ad86dd5dde857ebf3790 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Wed, 8 Jun 2016 09:56:36 +1000 Subject: [PATCH] debug --- booking.emails_admin.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/booking.emails_admin.inc b/booking.emails_admin.inc index bfb9357..b5b02e6 100644 --- a/booking.emails_admin.inc +++ b/booking.emails_admin.inc @@ -496,8 +496,9 @@ function _booking_email_get_preview_callback($form, $form_state) { break; case "balance": $text = variable_get('booking_email_paymentoutstanding_text'); + watchdog('booking_debug', "
Email Preview combinedpricing\n@info
", array('@info' => variable_get('booking_enable_combined_pricing', 0))); if (variable_get('booking_enable_combined_pricing', 0) == 1) { - $text .= "\n

If married

" . variable_get('booking_email_paymentoutstanding_married_text');
+        $text .= "\n

If married

\n
" . variable_get('booking_email_paymentoutstanding_married_text');
       }         
       break;
     case "complete":