1 Commits

Author SHA1 Message Date
9cab1c7c94 Update booking.travel.inc 2016-05-25 10:49:24 +10:00

View File

@@ -280,11 +280,13 @@ function travel_form($node, &$form_state, $inserting = FALSE, $nid = 0)
} }
} }
//only show this field if this person isn't married //only show this field if this person isn't married
if ((variable_get('booking_enable_combined_pricing', 0) == 1) && $person->booking_partner_id == 0) if (((variable_get('booking_enable_combined_pricing', 0) == 1) && $person->booking_partner_id == 0)
|| (variable_get('booking_enable_combined_pricing', 0) == 0))
{ {
$form['requirements']['booking_bf_gf_nid'] = array( $form['requirements']['booking_bf_gf_nid'] = array(
'#type' => 'textfield', '#type' => 'textfield',
'#title' => t('Registration ID of Boyfriend/Girlfriend to be placed in the same discussion groups as you.'), '#title' => t('Registration ID of Boyfriend/Girlfriend to be placed in the same discussion groups as you.'),
'#description' => t('If you\'re not sure what this number is, ask your Significant Other to look at the confirmation email they received when they registered.'),
'#maxlength' => 15, '#maxlength' => 15,
'#size' => 4, '#size' => 4,
'#required' => FALSE, '#required' => FALSE,