From f7f7e5fedca2c039a2f40715ea9907d6d80b775a Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 26 May 2016 11:44:01 +1000 Subject: [PATCH] remove form_builder --- booking.emails.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/booking.emails.inc b/booking.emails.inc index ac7028a..882f7c5 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -304,13 +304,13 @@ function _booking_manual_email_selecttype_dropdown_callback($form, &$form_state) //set new default values //$form['table']['#default_value'] = $new_default_values; - form_builder($form['#form_id'], $form['table'], $form_state); + //form_builder($form['#form_id'], $form['table'], $form_state); watchdog('booking_debug', "
Manual email new form table\n@info
", array('@info' => print_r( $form['table'], true))); watchdog('booking_debug', "
Manual email new default values\n@info
", array('@info' => print_r( $form['table']['#default_value'], true))); watchdog('booking_debug', "
Manual email new form array\n@info
", array('@info' => print_r( $form, true))); //$new_html = drupal_render($form['table']); - //watchdog('booking_debug', "
Manual email rendered table\n@info
", array('@info' => print_r( $new_html), true)); + watchdog('booking_debug', "
Manual email rendered table\n@info
", array('@info' => print_r( drupal_render($form['table'])), true)); // update the tableselect $commands = array();