diff --git a/booking.emails.inc b/booking.emails.inc index 1e378c9..ff980cb 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -170,13 +170,12 @@ function _booking_manual_email_form_selecttype_dropdown_callback($form, &$form_s // configure new tableselect based on old table select - $form['new']['table'] = $cached_form['table']; + $form['new']['table'] = $cached_form['form']['table']; watchdog('booking_debug', "
Manual email new form table\n@info", array('@info' => print_r( $form['new']['table'], true))); //set new default values - //$cached_form['table']['#default_value'] = $new_default_values; - //$form['new']['table']['#default_value'] = $new_default_values; + $cached_form['table']['#default_value'] = $new_default_values; + $form['new']['table']['#default_value'] = $new_default_values; - form_set_cache($form['#build_id'], $cached_form, $form_state); /*