From 42cec9d87f6370c4c3efb186faf77dac1be5789a Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Sat, 4 Jun 2016 12:51:28 +1000 Subject: [PATCH] logic fix --- booking.travel.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/booking.travel.inc b/booking.travel.inc index e035b46..861d665 100644 --- a/booking.travel.inc +++ b/booking.travel.inc @@ -329,7 +329,7 @@ function travel_form($node, &$form_state, $inserting = FALSE, $node = NULL, $tok } } //only show this field if this person isn't married - if (((variable_get('booking_enable_combined_pricing', 0) == 1) && $person->booking_partner_id == 0) || (variable_get('booking_enable_combined_pricing', 0) == 0)) { + if ($person->booking_partner_id == 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.'),