add debug

This commit is contained in:
2017-09-08 23:26:41 +10:00
parent 088648812e
commit f741694491

View File

@@ -414,6 +414,7 @@ function booking_update($node) {
} }
} }
watchdog('booking', 'Updating node: @info', array('@info' => var_export($data, TRUE)));
db_update('booking_person')->fields($data)->condition('nid', $node->nid)->execute(); db_update('booking_person')->fields($data)->condition('nid', $node->nid)->execute();
/* /*
//watchdog('booking', 'Updating node: @info', array('@info' => var_export($node, TRUE))); //watchdog('booking', 'Updating node: @info', array('@info' => var_export($node, TRUE)));