From 9cab1c7c94daeac97128dd27f7d78c2bd7002136 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Wed, 25 May 2016 10:49:24 +1000 Subject: [PATCH] Update booking.travel.inc --- booking.travel.inc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/booking.travel.inc b/booking.travel.inc index e23cfc1..6751f41 100644 --- a/booking.travel.inc +++ b/booking.travel.inc @@ -280,14 +280,16 @@ function travel_form($node, &$form_state, $inserting = FALSE, $nid = 0) } } //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( '#type' => 'textfield', '#title' => t('Registration ID of Boyfriend/Girlfriend to be placed in the same discussion groups as you.'), - '#maxlength' => 15, - '#size' => 4, - '#required' => FALSE, + '#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, + '#size' => 4, + '#required' => FALSE, '#default_value' => !empty($data->booking_bf_gf_nid) ? $data->booking_bf_gf_nid : $booking_bf_gf_nid, ); }