layout fix
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user