This commit is contained in:
Nathan Coad
2019-09-17 16:18:28 +10:00
parent 884397a726
commit 11fa3f4549

View File

@@ -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);