mroe typos
This commit is contained in:
@@ -661,9 +661,9 @@ function booking_variety_regn_edit_form($node, &$form_state, $nid)
|
||||
);
|
||||
|
||||
//add this to the form in a hidden field so we can update the right event
|
||||
$form['rid'] = array (
|
||||
$form['nid'] = array (
|
||||
'#type' => 'hidden',
|
||||
'#value' => $variety_regn_id,
|
||||
'#value' => $nid,
|
||||
);
|
||||
|
||||
$form['variety-sessions'] = array(
|
||||
@@ -682,7 +682,7 @@ function booking_variety_regn_edit_form($node, &$form_state, $nid)
|
||||
'#type' => 'select',
|
||||
'#title' => t('Variety Session: ' . $timeslot->booking_variety_time_descrip),
|
||||
'#required' => TRUE,
|
||||
'#default_value' => isset($form_state['values'][$fieldname]) ? $form_state['values'][$fieldname] : $session_ids[$timeslot->$tid],
|
||||
'#default_value' => isset($form_state['values'][$fieldname]) ? $form_state['values'][$fieldname] : $session_ids[$timeslot->tid],
|
||||
'#options' => _booking_get_variety_timeslot_options($timeslot->tid),
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user