From 43558a47718d2b6209cb9a6c4ddf90b3a6fbdfb2 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 26 May 2016 10:08:34 +1000 Subject: [PATCH] reference further down --- booking.emails.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }