From af5e76f38e98d8a195657c4a57d0feafcab65e99 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Wed, 25 May 2016 23:26:42 +1000 Subject: [PATCH] default value test --- booking.emails.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/booking.emails.inc b/booking.emails.inc index 774ae8f..4cf1f3f 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -92,7 +92,6 @@ function booking_manual_email() 'welfare_required' => $data->booking_welfare_required == 'Y' ? 'Yes' : 'No', 'travel_form' => $data->tid > 0 ? 'Yes' : 'No', '#attributes' => array('class' => array($class)), - '#disabled' => TRUE, ); if (variable_get('booking_enable_studygroups', 0) == 1) { @@ -106,14 +105,14 @@ function booking_manual_email() $options[$data->nid]['group_roles'] = $group_text; } - //$values[$data->nid] = ($paid == 0 || $data->booking_status != 1) ? FALSE : TRUE; + $values[$data->nid] = ($paid == 0 || $data->booking_status != 1) ? FALSE : TRUE; } $form['table'] = array ( '#type' => 'tableselect', '#header' => $header, '#options' => $options, - //'#default_value' => $values, + '#default_value' => $values, '#empty' => t('No attendees found.'), '#attributes' => array('id' => 'sort-table'), );