Fixes for PHP 5.4+

This commit is contained in:
2016-04-28 18:06:27 +10:00
parent b10da453e5
commit c1b2621d3b
5 changed files with 12 additions and 10 deletions

View File

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