From d68a57f64a55bfba490efc9f611374890a20c252 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Tue, 22 May 2018 10:40:15 +1000 Subject: [PATCH] test --- booking.emails_admin.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/booking.emails_admin.inc b/booking.emails_admin.inc index b8ef779..64178fb 100644 --- a/booking.emails_admin.inc +++ b/booking.emails_admin.inc @@ -280,8 +280,8 @@ function booking_emails_custom_ajax_form($node, &$form_state) { $form_format = NULL; } - $form_type = 'textarea'; - $form_format = NULL; + //$form_type = 'textarea'; + //$form_format = NULL; $form['email-type'] = array( '#type' => 'select', @@ -341,7 +341,7 @@ function booking_emails_custom_ajax_form_callback($form, &$form_state) { $emailtype = $form_state['input']['email-type']; if (strpos($emailtype, 'custom') !== false) { $subject = variable_get('booking_email_subject_' . $emailtype, ''); - $form['form']['email-definition']['booking_email_subjectline_custom']['value'] = $subject; + $form['form']['email-definition']['booking_email_subjectline_custom']['#value'] = $subject; $text = variable_get('booking_email_' . $emailtype, ''); $text = isset($text['format']) ? $text['value'] : $text;