From dca0c2194d1d0a4194a9da3660c31e84adb8c864 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 26 May 2016 12:45:50 +1000 Subject: [PATCH] test again --- booking.emails.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/booking.emails.inc b/booking.emails.inc index 70a2a60..b70c3c9 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -193,8 +193,7 @@ function _booking_manual_email_generate_options() { 'booking_fully_paid' => $data->booking_payment_complete == 'Y' ? 'Yes' : 'No', 'welfare_required' => $data->booking_welfare_required == 'Y' ? 'Yes' : 'No', 'travel_form' => $data->tid > 0 ? 'Yes' : 'No', - '#attributes' => array('class' => array($class), '#name' => array('table[' . $data->nid . ']')), - '#name' => array('table2[' . $data->nid . ']'), + '#attributes' => array('class' => array($class)), ); if (variable_get('booking_enable_studygroups', 0) == 1) { @@ -263,6 +262,7 @@ function _booking_manual_email_selecttype_dropdown_callback($form, &$form_state) '#prefix' => '
', '#suffix' => '
', '#value' => t('test'), + '#parents' => array('table'), ); watchdog('booking_debug', "
Manual email new form table\n@info
", array('@info' => print_r( $form['table'], true))); //$form['table']['#default_value'] = $new_default_values;