fix
This commit is contained in:
@@ -121,7 +121,7 @@ function travel_form($node, &$form_state, $db_node = NULL, $inserting = FALSE, $
|
|||||||
}
|
}
|
||||||
|
|
||||||
//get info from the database if we don't have it
|
//get info from the database if we don't have it
|
||||||
if (! $data->booking_partner_id) {
|
if (! isset($data->booking_partner_id)) {
|
||||||
watchdog('booking_debug', "<pre>Travel form querying database for missing details</pre>");
|
watchdog('booking_debug', "<pre>Travel form querying database for missing details</pre>");
|
||||||
|
|
||||||
$person = db_query("SELECT booking_dietary, booking_medical_conditions, booking_bf_gf_nid, booking_partner_id, booking_room_mate1 " .
|
$person = db_query("SELECT booking_dietary, booking_medical_conditions, booking_bf_gf_nid, booking_partner_id, booking_room_mate1 " .
|
||||||
|
Reference in New Issue
Block a user