From bde2f3800edf8f6ed5c3e9d665128dc1b2ddba5f Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 26 May 2016 09:30:19 +1000 Subject: [PATCH] some debugging --- booking.emails.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/booking.emails.inc b/booking.emails.inc index b9ffd1c..33690e3 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -166,6 +166,7 @@ function _booking_manual_email_form_selecttype_dropdown_callback($form, &$form_s // update cached options for tableselect $cached_form = form_get_cache($form['#build_id'], $form_state); + watchdog('booking_debug', "
Manual email cached form\n@info
", array('@info' => print_r( $cached_form, true))); $cached_form['table']['#default_value'] = $new_default_values; form_set_cache($form['#build_id'], $cached_form, $form_state); @@ -188,6 +189,8 @@ function _booking_manual_email_form_selecttype_dropdown_callback($form, &$form_s // remove current value //unset($form['table']['#default_value']); //unset($form['table']['#value']); + + watchdog('booking_debug', "
Manual email table element\n@info
", array('@info' => print_r( $form['table'], true))); // update the tableselect $commands = array();