From c9e7d2dc33b0dc672e3f24a0a29c497dd9a441d9 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 26 May 2016 13:15:14 +1000 Subject: [PATCH] another thing --- booking.emails.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/booking.emails.inc b/booking.emails.inc index b695307..685bdf4 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -256,14 +256,16 @@ function _booking_manual_email_selecttype_dropdown_callback($form, &$form_state) '#header' => $header, '#options' => $options, '#value' => array("1814" => TRUE), + '#default_value' => array("1814" => TRUE), '#empty' => t('No attendees found.'), '#attributes' => array('id' => 'sort-table'), '#prefix' => '
', '#suffix' => '
', ); - watchdog('booking_debug', "
Manual email new form table\n@info
", array('@info' => print_r( $form['table'], true))); + watchdog('booking_debug', "
Manual email new form table before\n@info
", array('@info' => print_r( $form['table'], true))); //$form['table']['#default_value'] = $new_default_values; $form['table'] = form_process_tableselect($form['table']); + watchdog('booking_debug', "
Manual email new form table after\n@info
", array('@info' => print_r( $form['table'], true))); return $form['table'];