diff --git a/booking.travel.inc b/booking.travel.inc index 47b3ad4..7168383 100644 --- a/booking.travel.inc +++ b/booking.travel.inc @@ -112,12 +112,12 @@ function travel_form($node, &$form_state, $db_node = NULL, $inserting = FALSE, $ //there's already info in $node so use that if (!empty($db_node)) { $data = $db_node; - watchdog('booking_debug', "
Travel form loaded from travel page:\n@info", array('@info' => print_r( $data, true))); + //watchdog('booking_debug', "
Travel form loaded from travel page:\n@info", array('@info' => print_r( $data, true))); } //otherwise rely on the form state from the previous submission else { $data = $form_state['node']; - watchdog('booking_debug', "
Travel form loaded directly:\n@info", array('@info' => print_r( $data, true))); + //watchdog('booking_debug', "
Travel form loaded directly:\n@info", array('@info' => print_r( $data, true))); } //get info from the database if we don't have it @@ -143,7 +143,7 @@ function travel_form($node, &$form_state, $db_node = NULL, $inserting = FALSE, $ } } else { - watchdog('booking_debug', "
Travel form not querying database for missing details"); + //watchdog('booking_debug', "
Travel form not querying database for missing details"); $booking_dietary = $data->booking_dietary; $booking_medical_conditions = $data->booking_medical_conditions; //an empty value is zero in this case