test tweak to booking_insert
This commit is contained in:
@@ -276,6 +276,9 @@ function booking_insert($node) {
|
||||
watchdog('booking_debug', "<pre>Inserting node:\n@info</pre>", array('@info' => print_r($node, TRUE)));
|
||||
//TODO: Generalise this by using the keys from $node instead of hard coding everything
|
||||
|
||||
db_insert('booking_person')->fields($node)->execute();
|
||||
|
||||
/*
|
||||
db_insert('booking_person')
|
||||
->fields(array(
|
||||
'nid' => $node->nid,
|
||||
@@ -348,6 +351,7 @@ function booking_insert($node) {
|
||||
'booking_comment_field' => $node->booking_comment_field,
|
||||
))
|
||||
->execute();
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user