default value test
This commit is contained in:
@@ -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'),
|
||||
);
|
||||
|
Reference in New Issue
Block a user