From 690ddc268bb73e37e8f66b8fb818a0304866823f Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Sat, 4 Jun 2016 12:51:49 +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 861d665..f965905 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 ($person->booking_partner_id == 0) { + if ($person->booking_partner_id == 0 || $inserting == FALSE) { $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.'),