bugfix
This commit is contained in:
@@ -121,7 +121,7 @@ function travel_form($node, &$form_state, $inserting = FALSE, $node = NULL, $tok
|
||||
//get info about this person from the relevant node id
|
||||
$person = db_query("SELECT booking_dietary, booking_medical_conditions, booking_bf_gf_nid, booking_partner_id, booking_room_mate1 " .
|
||||
"FROM {booking_person} " . "WHERE nid = :nid ",
|
||||
array(':nid' => (isset($node->nid) ? $node->nid : $data->booking_person_nid))->fetchObject();
|
||||
array(':nid' => isset($node->nid) ? $node->nid : $data->booking_person_nid))->fetchObject();
|
||||
|
||||
if ($person) {
|
||||
watchdog('booking_debug', "<pre>Person info from database:\n@info</pre>", array('@info' => print_r( $person, true)));
|
||||
|
Reference in New Issue
Block a user