debug
This commit is contained in:
@@ -1451,11 +1451,11 @@ function booking_form_submit($form, &$form_state)
|
||||
$node->booking_amount_paid = 0;
|
||||
$node->booking_total_pay_reqd = $payment_total_price->booking_price;
|
||||
|
||||
//watchdog('booking', 'Node data: @info', array('@info' => var_export($node, TRUE)));
|
||||
watchdog('booking', 'Node data: @info', array('@info' => var_export($node, TRUE)));
|
||||
$foo = node_submit($node);
|
||||
//watchdog('booking', 'Node data after submit: @info', array('@info' => var_export($foo, TRUE)));
|
||||
watchdog('booking', 'Node data after submit: @info', array('@info' => var_export($foo, TRUE)));
|
||||
$blah = node_save($foo);
|
||||
//watchdog('booking', 'Node data after save: @info', array('@info' => var_export($blah, TRUE)));
|
||||
watchdog('booking', 'Node data after save: @info', array('@info' => var_export($blah, TRUE)));
|
||||
|
||||
//post submission triggers
|
||||
_booking_form_submit_post_triggers($node);
|
||||
|
Reference in New Issue
Block a user