test tweak to booking_insert

This commit is contained in:
2017-06-29 12:55:47 +10:00
parent fab55d7aef
commit cd83d885d8
2 changed files with 6 additions and 0 deletions

View File

@@ -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();
*/
}
/**