actually save this time

This commit is contained in:
Nathan Coad
2018-01-18 17:26:46 +11:00
parent a1b392a675
commit b25a858054

View File

@@ -453,8 +453,8 @@ function booking_update($node) {
//make sure the name is the correct case
//not really needed for node updates since it now applies at node creation
//$data['booking_firstname'] = _booking_ucname($data['booking_firstname']);
//$data['booking_lastname'] = _booking_ucname($data['booking_lastname']);
$data['booking_firstname'] = _booking_ucname($data['booking_firstname']);
$data['booking_lastname'] = _booking_ucname($data['booking_lastname']);
watchdog('booking', 'Updating node: @info', array('@info' => var_export($data, TRUE)));
db_update('booking_person')->fields($data)->condition('nid', $node->nid)->execute();