diff --git a/booking.emails.inc b/booking.emails.inc index e34b720..76724b9 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -191,11 +191,11 @@ function _booking_manual_email_selecttype_dropdown_callback($form, &$form_state) //unset($form['table']['#default_value']); //unset($form['table']['#value']); - watchdog('booking_debug', "
Manual email table form array\n@info", array('@info' => print_r( $form['table'], true))); + watchdog('booking_debug', "
Manual email table form array\n@info", array('@info' => print_r( $form, true))); // update the tableselect $commands = array(); - $commands[] = ajax_command_replace('#manual-email-attendees-items', drupal_render($form['table'])); + $commands[] = ajax_command_replace('#manual-email-attendees-items', drupal_render($form['new']['table'])); return array('#type' => 'ajax', '#commands' => $commands); }