put ucname function back for node updates

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

View File

@@ -8,8 +8,8 @@ function booking_node_presave($node) {
$title = t('!event registration: !name', array( $title = t('!event registration: !name', array(
'!event' => $event->booking_eventname, '!event' => $event->booking_eventname,
// no longer needed since applied at node creation // no longer needed since applied at node creation
//'!name' => _booking_ucname($node->booking_firstname . ' ' . $node->booking_lastname), '!name' => _booking_ucname($node->booking_firstname . ' ' . $node->booking_lastname),
'!name' => $node->booking_firstname . ' ' . $node->booking_lastname, //'!name' => $node->booking_firstname . ' ' . $node->booking_lastname,
)); ));
//strip any emojis from user input if that feature is enabled //strip any emojis from user input if that feature is enabled