Fixes for PHP 5.4+
This commit is contained in:
@@ -1396,7 +1396,7 @@ function booking_form_submit($form, &$form_state) {
|
||||
$node->booking_total_pay_reqd = $payment_total_price->booking_price;
|
||||
|
||||
//watchdog('booking', 'Node data: @info', array('@info' => var_export($node, TRUE)));
|
||||
$foo = node_submit(&$node);
|
||||
$foo = node_submit($node);
|
||||
//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)));
|
||||
|
Reference in New Issue
Block a user