layout fix
This commit is contained in:
@@ -290,14 +290,11 @@ function booking_load($nodes) {
|
||||
}
|
||||
|
||||
function booking_insert($node) {
|
||||
|
||||
//TODO: Generalise this by using the keys from $node instead of hard coding everything
|
||||
|
||||
//$default_keys = array('nid', 'type', 'language', 'created', 'promote', 'changed', 'status', 'title');
|
||||
$data = array();
|
||||
//$default_keys = array('nid', 'type', 'language', 'created', 'promote', 'changed', 'status', 'title');
|
||||
|
||||
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();
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user