debugging

This commit is contained in:
Nathan Coad
2018-05-22 12:05:55 +10:00
parent 3948a8bcd9
commit 5f98a72b69

View File

@@ -273,6 +273,8 @@ function booking_emails_custom_ajax_form($node, &$form_state) {
}
// Populate some default values if a selection has already been made
watchdog('booking_debug', 'booking_emails_custom_ajax_form state: <pre>@info</pre>', array('@info' => print_r( $form_state, true)));
if (!isset($form_state['storage']['emailtype'])) {
$subject_value = "";
$body_value = "";
@@ -313,8 +315,6 @@ function booking_emails_custom_ajax_form($node, &$form_state) {
'#suffix' => '</div>'
);
$form['email-definition']['booking_email_subjectline_custom'] = array (
'#type' => 'textfield',
'#title' => t('Subject line for Custom Email'),