some debugging
This commit is contained in:
@@ -351,9 +351,8 @@ function travel_form($node, &$form_state, $inserting = FALSE, $node = NULL, $tok
|
||||
return $form;
|
||||
}
|
||||
|
||||
function travel_form_validate($form, &$form_state)
|
||||
{
|
||||
watchdog('booking_debug', "<pre>Travel form:\n@info</pre>", array('@info' => print_r( $form_state, true)));
|
||||
function travel_form_validate($form, &$form_state) {
|
||||
//watchdog('booking_debug', "<pre>Travel form:\n@info</pre>", array('@info' => print_r( $form_state, true)));
|
||||
|
||||
//verify boyfriend/girlfriend id is in the correct format
|
||||
if (isset($form_state['values']['booking_bf_gf_nid']) && $form_state['values']['booking_bf_gf_nid'] != '') {
|
||||
@@ -538,7 +537,7 @@ function travel_load($nodes)
|
||||
|
||||
function travel_insert($node)
|
||||
{
|
||||
//watchdog('booking', 'Inserting travel form: @info', array('@info' => var_export($node, TRUE)));
|
||||
watchdog('booking_debug', 'Inserting travel form: @info', array('@info' => print_r($node, TRUE)));
|
||||
|
||||
db_insert('booking_travel')->fields(array(
|
||||
'tid' => $node->nid,
|
||||
|
Reference in New Issue
Block a user