Finish adding schema updates to initial install function
This commit is contained in:
@@ -208,7 +208,7 @@ function booking_form($node, &$form_state, $inserting = FALSE) {
|
||||
{
|
||||
$form['your-details']['booking_shirt_size'] = array(
|
||||
'#type' => 'select',
|
||||
'#title' => t('Preferred hoodie size'),
|
||||
'#title' => t(variable_get('booking_tshirts_text_definition', 'Preferred hoodie size')),
|
||||
'#required' => FALSE,
|
||||
'#default_value' => variable_get('booking_shirt_size', empty($data->booking_shirt_size) ? '' : $data->booking_shirt_size),
|
||||
'#options' => _get_tshirt_options(),
|
||||
@@ -1225,8 +1225,6 @@ function booking_load_query($node_ids = NULL, $fetchAssoc = FALSE)
|
||||
global $event;
|
||||
$studygroup_count = variable_get('booking_studygroup_count','0');
|
||||
|
||||
//TODO: only add room info if the feature is enabled
|
||||
|
||||
$query = db_select('booking_person', 'p');
|
||||
//add price info
|
||||
$query->join('booking_price', 'pr', 'p.booking_payment_id = pr.pid');
|
||||
|
Reference in New Issue
Block a user