actually save this time
This commit is contained in:
@@ -453,8 +453,8 @@ function booking_update($node) {
|
|||||||
|
|
||||||
//make sure the name is the correct case
|
//make sure the name is the correct case
|
||||||
//not really needed for node updates since it now applies at node creation
|
//not really needed for node updates since it now applies at node creation
|
||||||
//$data['booking_firstname'] = _booking_ucname($data['booking_firstname']);
|
$data['booking_firstname'] = _booking_ucname($data['booking_firstname']);
|
||||||
//$data['booking_lastname'] = _booking_ucname($data['booking_lastname']);
|
$data['booking_lastname'] = _booking_ucname($data['booking_lastname']);
|
||||||
|
|
||||||
watchdog('booking', 'Updating node: @info', array('@info' => var_export($data, TRUE)));
|
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();
|
||||||
|
Reference in New Issue
Block a user