layout fix

This commit is contained in:
2017-09-09 19:46:19 +10:00
parent 308c8be4a4
commit f200fbc9b2
2 changed files with 2 additions and 5 deletions

View File

@@ -290,14 +290,11 @@ function booking_load($nodes) {
} }
function booking_insert($node) { function booking_insert($node) {
//TODO: Generalise this by using the keys from $node instead of hard coding everything //TODO: Generalise this by using the keys from $node instead of hard coding everything
$data = array();
//$default_keys = array('nid', 'type', 'language', 'created', 'promote', 'changed', 'status', 'title'); //$default_keys = array('nid', 'type', 'language', 'created', 'promote', 'changed', 'status', 'title');
$data = array();
watchdog('booking_debug', "<pre>Inserting node:\n@info</pre>", array('@info' => print_r($node, TRUE))); watchdog('booking_debug', "<pre>Inserting node:\n@info</pre>", array('@info' => print_r($node, TRUE)));
//watchdog('booking_debug', "<pre>Sanitised data:\n@info</pre>", array('@info' => print_r($data, TRUE)));
db_insert('booking_person')->fields($node)->execute(); db_insert('booking_person')->fields($node)->execute();
/* /*