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

@@ -470,7 +470,7 @@ function travel_form_submit($form, &$form_state) {
//watchdog('booking', "<pre>Travel data to save:\n@info</pre>", array('@info' => print_r( $node, true)));
//store the node
$foo = node_submit(&$node);
$foo = node_submit($node);
$blah = node_save($foo);
//send a confirmation email